Home
last modified time | relevance | path

Searched refs:kPts (Results 1 – 6 of 6) sorted by relevance

/external/skia/gm/
Drrectclipdrawpaint.cpp36 constexpr SkPoint kPts[] = {{0.f, 0.f}, {256.f, 256.f}}; variable
38 p.setShader(SkGradientShader::MakeLinear(kPts, kColors1, nullptr, 2,
Dstroke_rect_shader.cpp18 constexpr SkPoint kPts[] {{kRect.fLeft, kRect.fTop}, {kRect.fRight, kRect.fBottom}}; variable
21 sk_sp<SkShader> shader = SkGradientShader::MakeLinear(kPts, kColors, nullptr, 2,
Dmodecolorfilters.cpp20 constexpr SkPoint kPts[] = {{0, 0}, {1, 1}}; in make_color_shader() local
23 return SkGradientShader::MakeLinear(kPts, colors, nullptr, 2, SkShader::kClamp_TileMode); in make_color_shader()
Dcoloremoji.cpp24 constexpr SkPoint kPts[] = { { 0, 0 }, { 32, 32 } }; in MakeLinear() local
27 return SkGradientShader::MakeLinear(kPts, kColors, kPos, SK_ARRAY_COUNT(kColors), in MakeLinear()
Dgradients_no_texture.cpp96 constexpr SkPoint kPts[2] = { { 0, 0 }, in onDraw() local
110 paint.setShader(gGradMakers[j](kPts, gGradData[i], kTM)); in onDraw()
/external/skia/tests/
DPathTest.cpp4120 const SkPoint kPts[] = {{4, 4}, {6, 6}, {8, 8}, {6, 8}, {4, 8}, {4, 6}, {4, 4}}; in test_contains() local
4121 p.moveTo(kPts[0]); in test_contains()
4122 for (int index = 1; index < (int) SK_ARRAY_COUNT(kPts); index += 2) { in test_contains()
4123 p.conicTo(kPts[index], kPts[index + 1], 0.5f); in test_contains()
4128 for (int index = 0; index < (int) SK_ARRAY_COUNT(kPts) - 2; index += 2) { in test_contains()
4129 SkConic conic(&kPts[index], 0.5f); in test_contains()