Home
last modified time | relevance | path

Searched refs:gradPaint (Results 1 – 3 of 3) sorted by relevance

/external/skia/docs/examples/
DImageInfo_makeColorSpace.cpp19 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);
DImageInfo_gammaCloseToSRGB.cpp19 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);
DImageInfo_MakeS32.cpp12 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()