Searched refs:kPts (Results 1 - 12 of 12) sorted by relevance

/external/skia/gm/
H A Drrectclipdrawpaint.cpp36 constexpr SkPoint kPts[] = {{0.f, 0.f}, {256.f, 256.f}}; local
38 p.setShader(SkGradientShader::MakeLinear(kPts, kColors1, nullptr, 2,
H A Dstroke_rect_shader.cpp18 constexpr SkPoint kPts[] {{kRect.fLeft, kRect.fTop}, {kRect.fRight, kRect.fBottom}};
21 sk_sp<SkShader> shader = SkGradientShader::MakeLinear(kPts, kColors, nullptr, 2,
H A Dmodecolorfilters.cpp20 constexpr SkPoint kPts[] = {{0, 0}, {1, 1}}; local
23 return SkGradientShader::MakeLinear(kPts, colors, nullptr, 2, SkShader::kClamp_TileMode);
H A Dcoloremoji.cpp24 constexpr SkPoint kPts[] = { { 0, 0 }, { 32, 32 } }; local
27 return SkGradientShader::MakeLinear(kPts, kColors, kPos, SK_ARRAY_COUNT(kColors),
H A Dgradients_no_texture.cpp96 constexpr SkPoint kPts[2] = { { 0, 0 }, variable
110 paint.setShader(gGradMakers[j](kPts, gGradData[i], kTM));
/external/skqp/gm/
H A Drrectclipdrawpaint.cpp36 constexpr SkPoint kPts[] = {{0.f, 0.f}, {256.f, 256.f}}; local
38 p.setShader(SkGradientShader::MakeLinear(kPts, kColors1, nullptr, 2,
H A Dstroke_rect_shader.cpp18 constexpr SkPoint kPts[] {{kRect.fLeft, kRect.fTop}, {kRect.fRight, kRect.fBottom}};
21 sk_sp<SkShader> shader = SkGradientShader::MakeLinear(kPts, kColors, nullptr, 2,
H A Dmodecolorfilters.cpp20 constexpr SkPoint kPts[] = {{0, 0}, {1, 1}}; local
23 return SkGradientShader::MakeLinear(kPts, colors, nullptr, 2, SkShader::kClamp_TileMode);
H A Dcoloremoji.cpp24 constexpr SkPoint kPts[] = { { 0, 0 }, { 32, 32 } }; local
27 return SkGradientShader::MakeLinear(kPts, kColors, kPos, SK_ARRAY_COUNT(kColors),
H A Dgradients_no_texture.cpp96 constexpr SkPoint kPts[2] = { { 0, 0 }, variable
110 paint.setShader(gGradMakers[j](kPts, gGradData[i], kTM));
/external/skia/tests/
H A DPathTest.cpp4040 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 DPathTest.cpp4134 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);

Completed in 2030 milliseconds