Searched refs:gradColors (Results 1 – 9 of 9) sorted by relevance
/external/skia/docs/examples/ |
D | Bitmap_readPixels.cpp | 10 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()
|
D | ImageInfo_gammaCloseToSRGB.cpp | 17 SkColor gradColors[] = { 0xFFFF7F00, 0xFF00FF7F, 0xFF0000FF, 0xFF7F7FFF }; 20 gradPaint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr, 21 SK_ARRAY_COUNT(gradColors), SkShader::kClamp_TileMode));
|
D | Pixmap_readPixels.cpp | 13 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()
|
D | ImageInfo_MakeS32.cpp | 10 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()
|
D | ImageInfo_makeColorSpace.cpp | 17 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/ |
D | complexclip.cpp | 269 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/ |
D | SkImageInfo_Reference.bmh | 1137 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));
|
D | SkPixmap_Reference.bmh | 1239 SkColor gradColors[] = { 0xFFAA3300, 0x7F881122 }; 1242 paint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr, 1243 SK_ARRAY_COUNT(gradColors), SkShader::kClamp_TileMode));
|
D | SkBitmap_Reference.bmh | 2270 SkColor gradColors[] = { 0xFFAA3300, 0x7F881122 }; 2273 paint.setShader(SkGradientShader::MakeLinear(gradPoints, gradColors, nullptr, 2274 SK_ARRAY_COUNT(gradColors), SkShader::kClamp_TileMode));
|