/third_party/flutter/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));
|
/third_party/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 | 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 | 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_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));
|
/third_party/skia/gm/ |
D | complexclip.cpp | 268 const SkColor gradColors[] = {SK_ColorBLACK, SkColorSetARGB(128, 128, 128, 128)}; variable 269 auto s = SkGradientShader::MakeRadial({0.5f * w, 0.5f * h}, 0.1f * w, gradColors, nullptr, 389 const SkColor gradColors[] = {SK_ColorBLACK, SkColorSetARGB(128, 128, 128, 128)}; in __anon623fa32f0302() local 391 0.1f * img->width(), gradColors, nullptr, 2, in __anon623fa32f0302()
|