Home
last modified time | relevance | path

Searched refs:matchedRGB (Results 1 – 1 of 1) sorted by relevance

/AOO41X/main/xmerge/source/xmerge/java/org/openoffice/xmerge/util/
H A DColourConverter.java251 int matchedRGB = 0; in convertFromRGB() local
276 matchedRGB += getClosest(red) << 16; in convertFromRGB()
277 matchedRGB += getClosest(green) << 8; in convertFromRGB()
278 matchedRGB += getClosest(blue); in convertFromRGB()
287 if ((matchedRGB & 0xFF0000) == 0xFF0000 || (matchedRGB & 0xFF00) == 0xFF00 in convertFromRGB()
288 || (matchedRGB & 0xFF) == 0xFF) { in convertFromRGB()
289 if ((matchedRGB & 0xFF0000) == 0x800000) { in convertFromRGB()
290 matchedRGB ^= 0x800000; in convertFromRGB()
292 if ((matchedRGB & 0xFF00) == 0x8000) { in convertFromRGB()
293 matchedRGB ^= 0x8000; in convertFromRGB()
[all …]