Home
last modified time | relevance | path

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

/PHP-5.3/ext/gd/libgd/
H A Dgdft.c33 #ifdef NUMCOLORS
34 #undef NUMCOLORS
36 #define NUMCOLORS 8 macro
555 if ((pixel + pixel) >= NUMCOLORS) {
561 npixel = NUMCOLORS - pixel;
573 gdAlphaMax - (gdTrueColorGetAlpha (fg) * pixel / NUMCOLORS));
576 (pixel * im->red[fg] + npixel * im->red[bg]) / NUMCOLORS,
577 (pixel * im->green[fg] + npixel * im->green[bg]) / NUMCOLORS,
578 (pixel * im->blue[fg] + npixel * im->blue[bg]) / NUMCOLORS);
682 tc_key.pixel = ((bitmap.buffer[pc / 8] << (pc % 8)) & 128) ? NUMCOLORS : 0;
[all …]

Completed in 11 milliseconds