Searched refs:GRADIENT_STOP_SIZE (Results 1 – 1 of 1) sorted by relevance
35 #define GRADIENT_STOP_SIZE 1024 macro112 auto i = GRADIENT_STOP_SIZE - end; in _applyAA()123 if (i == GRADIENT_STOP_SIZE) i = 0; in _applyAA()134 fill->ctable = static_cast<uint32_t*>(malloc(GRADIENT_STOP_SIZE * sizeof(uint32_t))); in _updateColorTable()152 auto inc = 1.0f / static_cast<float>(GRADIENT_STOP_SIZE); in _updateColorTable()172 _adjustAAMargin(iAAEnd, GRADIENT_STOP_SIZE - i); in _updateColorTable()183 while (pos < next->offset && i < GRADIENT_STOP_SIZE) { in _updateColorTable()201 for (; i < GRADIENT_STOP_SIZE; ++i) in _updateColorTable()207 else fill->ctable[GRADIENT_STOP_SIZE - 1] = rgba; in _updateColorTable()331 if (pos >= GRADIENT_STOP_SIZE) pos = GRADIENT_STOP_SIZE - 1; in _clamp()[all …]