Home
last modified time | relevance | path

Searched refs:fColorOffsets (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/pdf/
DSkPDFShader.cpp151 result->appendScalar(info.fColorOffsets[i]); in gradientFunctionCode()
153 if (info.fColorOffsets[i - 1] != 0) { in gradientFunctionCode()
154 result->appendScalar(info.fColorOffsets[i - 1]); in gradientFunctionCode()
158 interpolateColorCode(info.fColorOffsets[i] - info.fColorOffsets[i - 1], in gradientFunctionCode()
753 memcmp(fInfo.fColorOffsets, b.fInfo.fColorOffsets, in operator ==()
794 fInfo.fColorOffsets = NULL; in State()
814 fInfo.fColorOffsets = in State()
DSkPDFDevice.cpp1426 gradientInfo.fColorOffsets = NULL; in populateGraphicStateEntryFromPaint()
/external/skia/include/core/
DSkShader.h262 SkScalar* fColorOffsets; //!< The unit offset for color transitions. member
/external/skia/src/effects/
DSkGradientShader.cpp803 if (info->fColorOffsets) { in commonAsAGradient()
805 info->fColorOffsets[0] = 0; in commonAsAGradient()
806 info->fColorOffsets[1] = SK_Scalar1; in commonAsAGradient()
809 info->fColorOffsets[i] = SkFixedToScalar(fRecs[i].fPos); in commonAsAGradient()
/external/skia/src/gpu/
DSkGpuDevice.cpp507 info.fColorOffsets = NULL; in skPaint2GrPaintShader()