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

/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmssm.c68 #define SECTORS 16 // number of divisions in alpha and theta macro
98 cmsGDBPoint Gamut[SECTORS][SECTORS];
199 *alpha = (int) floor(((sp->alpha * (SECTORS)) / 360.0) );
200 *theta = (int) floor(((sp->theta * (SECTORS)) / 180.0) );
202 if (*alpha >= SECTORS)
203 *alpha = SECTORS-1;
204 if (*theta >= SECTORS)
205 *theta = SECTORS-1;
375 if (alpha < 0 || theta < 0 || alpha >= SECTORS || thet
[all...]

Completed in 29 milliseconds