Searched defs:CheckColor (Results 1 - 1 of 1) sorted by relevance
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/ |
H A D | dpsXcmu.c | 915 #define CheckColor(color,r,g,b) ((((color)->red >> 8) == (r) * SMALLSCALE) && \ macro 951 if (CheckColor(color, 0, 0, 0)) return False; 952 if (CheckColor(color, 1, 1, 1)) return False; 955 if (CheckColor(color, 1, 0, 0)) {r = color->pixel-k; found |= R;} 956 else if (CheckColor(color, 0, 1, 0)) {g = color->pixel-k; found |= G;} 957 else if (CheckColor(color, 0, 0, 1)) {b = color->pixel-k; found |= B;} 958 else if (CheckColor(color, 0, 1, 1)) {c = color->pixel-k; found |= C;} 959 else if (CheckColor(color, 1, 0, 1)) {m = color->pixel-k; found |= M;} 960 else if (CheckColor(color, 1, 1, 0)) {y = color->pixel-k; found |= Y;} 1109 if (CheckColor(ram [all...] |
Completed in 15 milliseconds