Home
last modified time | relevance | path

Searched refs:colorOffsets (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/pdf/
DSkPDFShader.cpp220 SkTDArray<SkScalar> colorOffsets(info.fColorOffsets, colorCount); in gradientStitchCode() local
225 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()
/external/skia/src/xps/
DSkXPSDevice.cpp1004 SkAutoTArray<SkScalar> colorOffsets(info.fColorCount); in createXpsBrush() local
1006 info.fColorOffsets = colorOffsets.get(); in createXpsBrush()