Home
last modified time | relevance | path

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

/external/skia/src/pdf/
DSkPDFShader.cpp154 result->appendScalar(info.fColorOffsets[i]); in gradientFunctionCode()
156 if (info.fColorOffsets[i - 1] != 0) { in gradientFunctionCode()
157 result->appendScalar(info.fColorOffsets[i - 1]); in gradientFunctionCode()
161 interpolateColorCode(info.fColorOffsets[i] - info.fColorOffsets[i - 1], in gradientFunctionCode()
892 memcmp(fInfo.fColorOffsets, b.fInfo.fColorOffsets, in operator ==()
934 fInfo.fColorOffsets = NULL; in State()
954 fInfo.fColorOffsets = in State()
DSkPDFDevice.cpp1551 gradientInfo.fColorOffsets = NULL; in populateGraphicStateEntryFromPaint()
/external/skia/tests/
DGradientTest.cpp32 info->fColorOffsets = posStorage.get(); in gradCheck()
39 !memcmp(info->fColorOffsets, fPos, fColorCount * sizeof(SkScalar))); in gradCheck()
/external/skia/legacy/include/core/
DSkShader.h262 SkScalar* fColorOffsets; //!< The unit offset for color transitions. member
/external/skia/src/effects/gradients/
DSkGradientShader.cpp528 if (info->fColorOffsets) { in commonAsAGradient()
530 info->fColorOffsets[0] = 0; in commonAsAGradient()
531 info->fColorOffsets[1] = SK_Scalar1; in commonAsAGradient()
534 info->fColorOffsets[i] = SkFixedToScalar(fRecs[i].fPos); in commonAsAGradient()
/external/skia/include/core/
DSkShader.h311 SkScalar* fColorOffsets; //!< The unit offset for color transitions. member
/external/skia/src/device/xps/
DSkXPSDevice.cpp802 transform_offsets(info.fColorOffsets, info.fColorCount, in createXpsLinearGradient()
811 info.fColorOffsets[0], in createXpsLinearGradient()
816 info.fColorOffsets[1], in createXpsLinearGradient()
837 info.fColorOffsets[i], in createXpsLinearGradient()
860 info.fColorOffsets[0], in createXpsRadialGradient()
865 info.fColorOffsets[1], in createXpsRadialGradient()
914 info.fColorOffsets[i], in createXpsRadialGradient()
943 info.fColorOffsets = NULL; in createXpsBrush()
968 info.fColorOffsets = colorOffsets.get(); in createXpsBrush()
/external/skia/legacy/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.cpp559 info.fColorOffsets = NULL; in skPaint2GrPaintShader()