Searched refs:kPts (Results 1 – 6 of 6) sorted by relevance
/external/skia/gm/ |
D | rrectclipdrawpaint.cpp | 36 constexpr SkPoint kPts[] = {{0.f, 0.f}, {256.f, 256.f}}; variable 38 p.setShader(SkGradientShader::MakeLinear(kPts, kColors1, nullptr, 2,
|
D | stroke_rect_shader.cpp | 18 constexpr SkPoint kPts[] {{kRect.fLeft, kRect.fTop}, {kRect.fRight, kRect.fBottom}}; variable 21 sk_sp<SkShader> shader = SkGradientShader::MakeLinear(kPts, kColors, nullptr, 2,
|
D | modecolorfilters.cpp | 20 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()
|
D | coloremoji.cpp | 24 constexpr SkPoint kPts[] = { { 0, 0 }, { 32, 32 } }; in MakeLinear() local 27 return SkGradientShader::MakeLinear(kPts, kColors, kPos, SK_ARRAY_COUNT(kColors), in MakeLinear()
|
D | gradients_no_texture.cpp | 96 constexpr SkPoint kPts[2] = { { 0, 0 }, in onDraw() local 110 paint.setShader(gGradMakers[j](kPts, gGradData[i], kTM)); in onDraw()
|
/external/skia/tests/ |
D | PathTest.cpp | 4120 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()
|