Searched refs:colorOffsets (Results 1 – 2 of 2) sorted by relevance
220 SkTDArray<SkScalar> colorOffsets(info.fColorOffsets, colorCount); in gradientStitchCode() local225 if (colorOffsets[i - 1] > colorOffsets[i]) { in gradientStitchCode()226 colorOffsets[i] = colorOffsets[i - 1]; in gradientStitchCode()230 if ((colorOffsets[i - 1] == colorOffsets[i]) && (colorOffsets[i] == colorOffsets[i + 1])) { in gradientStitchCode()233 colorOffsets.remove(i); in gradientStitchCode()240 if (colorOffsets[i - 1] == colorOffsets[i]) { in gradientStitchCode()241 colorOffsets[i] += 0.00001f; in gradientStitchCode()245 if (colorOffsets[i - 1] == colorOffsets[i]) { in gradientStitchCode()246 colorOffsets[i - 1] -= 0.00001f; in gradientStitchCode()273 bounds->appendScalar(colorOffsets[i-1]); in gradientStitchCode()
1004 SkAutoTArray<SkScalar> colorOffsets(info.fColorCount); in createXpsBrush() local1006 info.fColorOffsets = colorOffsets.get(); in createXpsBrush()