Searched refs:colorOffsets (Results 1 – 2 of 2) sorted by relevance
228 SkTDArray<SkScalar> colorOffsets(info.fColorOffsets, colorCount); in gradientStitchCode() local233 if (colorOffsets[i - 1] > colorOffsets[i]) { in gradientStitchCode()234 colorOffsets[i] = colorOffsets[i - 1]; in gradientStitchCode()238 if ((colorOffsets[i - 1] == colorOffsets[i]) && (colorOffsets[i] == colorOffsets[i + 1])) { in gradientStitchCode()241 colorOffsets.remove(i); in gradientStitchCode()248 if (colorOffsets[i - 1] == colorOffsets[i]) { in gradientStitchCode()249 colorOffsets[i] += 0.00001f; in gradientStitchCode()253 if (colorOffsets[i - 1] == colorOffsets[i]) { in gradientStitchCode()254 colorOffsets[i - 1] -= 0.00001f; in gradientStitchCode()281 bounds->appendScalar(colorOffsets[i-1]); in gradientStitchCode()
1002 SkAutoTArray<SkScalar> colorOffsets(info.fColorCount); in createXpsBrush() local1004 info.fColorOffsets = colorOffsets.get(); in createXpsBrush()