Searched refs:gradPoints (Results 1 – 5 of 5) sorted by relevance
/external/skia/docs/examples/ |
D | Bitmap_readPixels.cpp | 11 SkPoint gradPoints[] = { { 0, 0 }, { 256, 0 } }; in draw() local 13 paint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr, in draw()
|
D | ImageInfo_gammaCloseToSRGB.cpp | 18 SkPoint gradPoints[] = { { 0, 0 }, { width, 0 }, { width * 2, 0 }, { width * 3, 0 } }; 20 gradPaint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr,
|
D | ImageInfo_MakeS32.cpp | 11 SkPoint gradPoints[] = { { 0, 0 }, { width, 0 } }; in draw() local 13 gradPaint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr, in draw()
|
D | Pixmap_readPixels.cpp | 14 SkPoint gradPoints[] = { { 0, 0 }, { 256, 0 } }; in draw() local 16 paint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr, in draw()
|
D | ImageInfo_makeColorSpace.cpp | 18 SkPoint gradPoints[] = { { 0, 0 }, { width, 0 }, { width * 2, 0 }, { width * 3, 0 } }; 20 gradPaint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr,
|