Home
last modified time | relevance | path

Searched refs:gradPaint (Results 1 – 4 of 4) 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()
/external/skqp/docs/
DSkImageInfo_Reference.bmh1139 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 …]