Home
last modified time | relevance | path

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

/PHP-8.2/ext/gd/libgd/
H A Dgdft.c643 tweencolorkey_t tc_key; local
646 tc_key.fgcolor = fg;
647 tc_key.im = im;
734tc_key.pixel = ((bitmap.buffer[pc] * NUMCOLORS) + bitmap.num_grays / 2) / (bitmap.num_grays - 1);
736 tc_key.pixel = ((bitmap.buffer[pc / 8] << (pc % 8)) & 128) ? NUMCOLORS : 0;
738 tc_key.pixel = ((bitmap.buffer[(col>>3)+pcr]) & (1<<(~col&0x07))) ? NUMCOLORS : 0;
742 if (tc_key.pixel > 0) { /* if not background */
751 if (tc_key.pixel == NUMCOLORS) {
758 tc_key.bgcolor = *pixel;
759 tc_elem = (tweencolor_t *) gdCacheGet(tc_cache, &tc_key);

Completed in 6 milliseconds