Home
last modified time | relevance | path

Searched refs:gradColors (Results 1 – 9 of 9) sorted by relevance

/external/skia/docs/examples/
DBitmap_readPixels.cpp10 SkColor gradColors[] = { 0xFFAA3300, 0x7F881122 }; in draw() local
13 paint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr, in draw()
14 SK_ARRAY_COUNT(gradColors), SkTileMode::kClamp)); in draw()
DImageInfo_gammaCloseToSRGB.cpp17 SkColor gradColors[] = { 0xFFFF7F00, 0xFF00FF7F, 0xFF0000FF, 0xFF7F7FFF };
20 gradPaint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr,
21 SK_ARRAY_COUNT(gradColors), SkShader::kClamp_TileMode));
DPixmap_readPixels.cpp13 SkColor gradColors[] = { 0xFFAA3300, 0x7F881122 }; in draw() local
16 paint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr, in draw()
17 SK_ARRAY_COUNT(gradColors), SkTileMode::kClamp)); in draw()
DImageInfo_MakeS32.cpp10 SkColor gradColors[] = { 0xFFAA0055, 0xFF11CC88 }; in draw() local
13 gradPaint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr, in draw()
14 SK_ARRAY_COUNT(gradColors), SkTileMode::kClamp)); in draw()
DImageInfo_makeColorSpace.cpp17 SkColor gradColors[] = { 0xFFFF7F00, 0xFF00FF7F, 0xFF0000FF, 0xFF7F7FFF };
20 gradPaint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr,
21 SK_ARRAY_COUNT(gradColors), SkShader::kClamp_TileMode));
/external/skia/gm/
Dcomplexclip.cpp269 const SkColor gradColors[] = {SK_ColorBLACK, SkColorSetARGB(128, 128, 128, 128)}; variable
270 auto s = SkGradientShader::MakeRadial({0.5f * w, 0.5f * h}, 0.1f * w, gradColors, nullptr,
390 const SkColor gradColors[] = {SK_ColorBLACK, SkColorSetARGB(128, 128, 128, 128)}; in __anonbff4a45c0302() local
392 0.1f * img->width(), gradColors, nullptr, 2, in __anonbff4a45c0302()
/external/skqp/docs/
DSkImageInfo_Reference.bmh1137 SkColor gradColors[] = { 0xFFAA0055, 0xFF11CC88 };
1140 gradPaint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr,
1141 SK_ARRAY_COUNT(gradColors), SkShader::kClamp_TileMode));
1572 SkColor gradColors[] = { 0xFFFF7F00, 0xFF00FF7F, 0xFF0000FF, 0xFF7F7FFF };
1575 gradPaint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr,
1576 SK_ARRAY_COUNT(gradColors), SkShader::kClamp_TileMode));
1708 SkColor gradColors[] = { 0xFFFF7F00, 0xFF00FF7F, 0xFF0000FF, 0xFF7F7FFF };
1711 gradPaint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr,
1712 SK_ARRAY_COUNT(gradColors), SkShader::kClamp_TileMode));
DSkPixmap_Reference.bmh1239 SkColor gradColors[] = { 0xFFAA3300, 0x7F881122 };
1242 paint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr,
1243 SK_ARRAY_COUNT(gradColors), SkShader::kClamp_TileMode));
DSkBitmap_Reference.bmh2270 SkColor gradColors[] = { 0xFFAA3300, 0x7F881122 };
2273 paint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr,
2274 SK_ARRAY_COUNT(gradColors), SkShader::kClamp_TileMode));