Searched refs:fColorOffsets (Results 1 – 9 of 9) sorted by relevance
/external/skia/src/pdf/ |
D | SkPDFShader.cpp | 154 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()
|
D | SkPDFDevice.cpp | 1551 gradientInfo.fColorOffsets = NULL; in populateGraphicStateEntryFromPaint()
|
/external/skia/tests/ |
D | GradientTest.cpp | 32 info->fColorOffsets = posStorage.get(); in gradCheck() 39 !memcmp(info->fColorOffsets, fPos, fColorCount * sizeof(SkScalar))); in gradCheck()
|
/external/skia/legacy/include/core/ |
D | SkShader.h | 262 SkScalar* fColorOffsets; //!< The unit offset for color transitions. member
|
/external/skia/src/effects/gradients/ |
D | SkGradientShader.cpp | 528 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/ |
D | SkShader.h | 311 SkScalar* fColorOffsets; //!< The unit offset for color transitions. member
|
/external/skia/src/device/xps/ |
D | SkXPSDevice.cpp | 802 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/ |
D | SkGradientShader.cpp | 803 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/ |
D | SkGpuDevice.cpp | 559 info.fColorOffsets = NULL; in skPaint2GrPaintShader()
|