/external/skia/gm/ |
H A D | rrectclipdrawpaint.cpp | 36 constexpr SkPoint kPts[] = {{0.f, 0.f}, {256.f, 256.f}}; local 38 p.setShader(SkGradientShader::MakeLinear(kPts, kColors1, nullptr, 2,
|
H A D | stroke_rect_shader.cpp | 18 constexpr SkPoint kPts[] {{kRect.fLeft, kRect.fTop}, {kRect.fRight, kRect.fBottom}}; 21 sk_sp<SkShader> shader = SkGradientShader::MakeLinear(kPts, kColors, nullptr, 2,
|
H A D | modecolorfilters.cpp | 20 constexpr SkPoint kPts[] = {{0, 0}, {1, 1}}; local 23 return SkGradientShader::MakeLinear(kPts, colors, nullptr, 2, SkShader::kClamp_TileMode);
|
H A D | coloremoji.cpp | 24 constexpr SkPoint kPts[] = { { 0, 0 }, { 32, 32 } }; local 27 return SkGradientShader::MakeLinear(kPts, kColors, kPos, SK_ARRAY_COUNT(kColors),
|
H A D | gradients_no_texture.cpp | 96 constexpr SkPoint kPts[2] = { { 0, 0 }, variable 110 paint.setShader(gGradMakers[j](kPts, gGradData[i], kTM));
|
/external/skqp/gm/ |
H A D | rrectclipdrawpaint.cpp | 36 constexpr SkPoint kPts[] = {{0.f, 0.f}, {256.f, 256.f}}; local 38 p.setShader(SkGradientShader::MakeLinear(kPts, kColors1, nullptr, 2,
|
H A D | stroke_rect_shader.cpp | 18 constexpr SkPoint kPts[] {{kRect.fLeft, kRect.fTop}, {kRect.fRight, kRect.fBottom}}; 21 sk_sp<SkShader> shader = SkGradientShader::MakeLinear(kPts, kColors, nullptr, 2,
|
H A D | modecolorfilters.cpp | 20 constexpr SkPoint kPts[] = {{0, 0}, {1, 1}}; local 23 return SkGradientShader::MakeLinear(kPts, colors, nullptr, 2, SkShader::kClamp_TileMode);
|
H A D | coloremoji.cpp | 24 constexpr SkPoint kPts[] = { { 0, 0 }, { 32, 32 } }; local 27 return SkGradientShader::MakeLinear(kPts, kColors, kPos, SK_ARRAY_COUNT(kColors),
|
H A D | gradients_no_texture.cpp | 96 constexpr SkPoint kPts[2] = { { 0, 0 }, variable 110 paint.setShader(gGradMakers[j](kPts, gGradData[i], kTM));
|
/external/skia/tests/ |
H A D | PathTest.cpp | 4040 const SkPoint kPts[] = {{4, 4}, {6, 6}, {8, 8}, {6, 8}, {4, 8}, {4, 6}, {4, 4}}; local 4041 p.moveTo(kPts[0]); 4042 for (int index = 1; index < (int) SK_ARRAY_COUNT(kPts); index += 2) { 4043 p.conicTo(kPts[index], kPts[index + 1], 0.5f); 4048 for (int index = 0; index < (int) SK_ARRAY_COUNT(kPts) - 2; index += 2) { 4049 SkConic conic(&kPts[index], 0.5f);
|
/external/skqp/tests/ |
H A D | PathTest.cpp | 4134 const SkPoint kPts[] = {{4, 4}, {6, 6}, {8, 8}, {6, 8}, {4, 8}, {4, 6}, {4, 4}}; local 4135 p.moveTo(kPts[0]); 4136 for (int index = 1; index < (int) SK_ARRAY_COUNT(kPts); index += 2) { 4137 p.conicTo(kPts[index], kPts[index + 1], 0.5f); 4142 for (int index = 0; index < (int) SK_ARRAY_COUNT(kPts) - 2; index += 2) { 4143 SkConic conic(&kPts[index], 0.5f);
|