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

/xsrc/external/mit/pixman/dist/demos/
H A Dconical-test.c6 #define NUM_ROWS ((NUM_GRADIENTS + GRADIENTS_PER_ROW - 1) / GRADIENTS_PER_ROW)
9 #define NUM_GRADIENTS 35 macro
43 angle = (0.5 / NUM_GRADIENTS + index / (double)NUM_GRADIENTS) * 720 - 180;
77 for (i = 0; i < NUM_GRADIENTS; i++)
H A Dradial-test.c4 #define NUM_GRADIENTS 9 macro
8 #define WIDTH (SIZE * NUM_GRADIENTS)
60 const static double radiuses[NUM_GRADIENTS] = {
101 radius1 = radiuses[NUM_GRADIENTS - index - 1];
180 for (i = 0; i < NUM_GRADIENTS; i++)

Completed in 2 milliseconds