Searched refs:NUMCOLORS (Results 1 – 1 of 1) sorted by relevance
33 #ifdef NUMCOLORS34 #undef NUMCOLORS36 #define NUMCOLORS 8 macro557 if ((pixel + pixel) >= NUMCOLORS) {563 npixel = NUMCOLORS - pixel;575 gdAlphaMax - (gdTrueColorGetAlpha (fg) * pixel / NUMCOLORS));578 (pixel * im->red[fg] + npixel * im->red[bg]) / NUMCOLORS,579 (pixel * im->green[fg] + npixel * im->green[bg]) / NUMCOLORS,580 (pixel * im->blue[fg] + npixel * im->blue[bg]) / NUMCOLORS);684 tc_key.pixel = ((bitmap.buffer[pc / 8] << (pc % 8)) & 128) ? NUMCOLORS : 0;[all …]
Completed in 9 milliseconds