Searched refs:CFRAC (Results 1 - 1 of 1) sorted by relevance

/ast/src/lib/libtk/generic/
H A DtkImgPhoto.c2549 # define CFRAC(i, n) ((i) * 65535 / (n))
2551 /* As for CFRAC, but apply exponent of g. */
2603 colors[i].red = CFRAC(i, nRed - 1);
2604 colors[i].green = CFRAC(i, nGreen - 1);
2605 colors[i].blue = CFRAC(i, nBlue - 1);
2631 colors[i].red = CFRAC(r, nRed - 1);
2632 colors[i].green = CFRAC(g, nGreen - 1);
2633 colors[i].blue = CFRAC(b, nBlue - 1);
2650 r = CFRAC(i, numColors - 1);
2531 # define CFRAC macro

Completed in 41 milliseconds