Searched refs:CGFRAC (Results 1 - 1 of 1) sorted by relevance
/ast/src/lib/libtk/generic/ |
H A D | tkImgPhoto.c | 2552 # define CGFRAC(i, n, g) ((int)(65535 * pow((double)(i) / (n), (g)))) 2607 colors[i].red = CGFRAC(i, nRed - 1, igam); 2608 colors[i].green = CGFRAC(i, nGreen - 1, igam); 2609 colors[i].blue = CGFRAC(i, nBlue - 1, igam); 2635 colors[i].red = CGFRAC(r, nRed - 1, igam); 2636 colors[i].green = CGFRAC(g, nGreen - 1, igam); 2637 colors[i].blue = CGFRAC(b, nBlue - 1, igam); 2652 r = CGFRAC(i, numColors - 1, igam); 2534 # define CGFRAC macro
|
Completed in 19 milliseconds