Home
last modified time | relevance | path

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

/external/skia/docs/examples/
DBitmap_readPixels.cpp11 SkPoint gradPoints[] = { { 0, 0 }, { 256, 0 } }; in draw() local
13 paint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr, in draw()
DImageInfo_gammaCloseToSRGB.cpp18 SkPoint gradPoints[] = { { 0, 0 }, { width, 0 }, { width * 2, 0 }, { width * 3, 0 } };
20 gradPaint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr,
DImageInfo_MakeS32.cpp11 SkPoint gradPoints[] = { { 0, 0 }, { width, 0 } }; in draw() local
13 gradPaint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr, in draw()
DPixmap_readPixels.cpp14 SkPoint gradPoints[] = { { 0, 0 }, { 256, 0 } }; in draw() local
16 paint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr, in draw()
DImageInfo_makeColorSpace.cpp18 SkPoint gradPoints[] = { { 0, 0 }, { width, 0 }, { width * 2, 0 }, { width * 3, 0 } };
20 gradPaint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr,