Searched refs:gradPaint (Results 1 – 4 of 4) sorted by relevance
/external/skia/docs/examples/ |
D | ImageInfo_makeColorSpace.cpp | 19 SkPaint gradPaint; 20 gradPaint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr, 22 canvas->drawRect(SkRect::MakeWH(width, height), gradPaint); 28 sRGBOffscreen.drawRect(SkRect::MakeWH(width, height), gradPaint); 36 lgOffscreen.drawRect(SkRect::MakeWH(width, height), gradPaint);
|
D | ImageInfo_gammaCloseToSRGB.cpp | 19 SkPaint gradPaint; 20 gradPaint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr, 22 canvas->drawRect(SkRect::MakeWH(width, height), gradPaint); 28 sRGBOffscreen.drawRect(SkRect::MakeWH(width, height), gradPaint);
|
D | ImageInfo_MakeS32.cpp | 12 SkPaint gradPaint; in draw() local 13 gradPaint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr, in draw() 18 offScreen.drawRect(SkRect::MakeWH(width, height), gradPaint); in draw() 22 sRGBOffscreen.drawRect(SkRect::MakeWH(width, height), gradPaint); in draw()
|
/external/skqp/docs/ |
D | SkImageInfo_Reference.bmh | 1139 SkPaint gradPaint; 1140 gradPaint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr, 1145 offScreen.drawRect(SkRect::MakeWH(width, height), gradPaint); 1149 sRGBOffscreen.drawRect(SkRect::MakeWH(width, height), gradPaint); 1574 SkPaint gradPaint; 1575 gradPaint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr, 1577 canvas->drawRect(SkRect::MakeWH(width, height), gradPaint); 1583 sRGBOffscreen.drawRect(SkRect::MakeWH(width, height), gradPaint); 1710 SkPaint gradPaint; 1711 gradPaint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr, [all …]
|