Searched refs:kIntervals (Results 1 – 8 of 8) sorted by relevance
/external/skqp/gm/ |
D | dashcircle.cpp | 123 static constexpr SkScalar kIntervals[][2]{ in onDraw() local 136 static constexpr int kN = SK_ARRAY_COUNT(kIntervals); in onDraw() 147 sk_sp<SkPathEffect> deffects[SK_ARRAY_COUNT(kIntervals)]; in onDraw() 148 sk_sp<SkPathEffect> thinDEffects[SK_ARRAY_COUNT(kIntervals)]; in onDraw() 152 SkScalar scaledIntervals[2] = {kCircumference * kIntervals[i][0], in onDraw() 153 kCircumference * kIntervals[i][1]}; in onDraw() 157 scaledIntervals[0] = kThinCircumference * kIntervals[i][0]; in onDraw() 158 scaledIntervals[1] = kThinCircumference * kIntervals[i][1]; in onDraw()
|
D | inversepaths.cpp | 50 constexpr SkScalar kIntervals[] = { 4.f, 3.f }; in make_dash() local 51 return SkDashPathEffect::Make(kIntervals, SK_ARRAY_COUNT(kIntervals), 0); in make_dash()
|
D | dashing.cpp | 574 static constexpr SkScalar kIntervals[] = {5.f, 0.f, 2.f, 0.f}; variable 576 dashPaint.setPathEffect(SkDashPathEffect::Make(kIntervals, SK_ARRAY_COUNT(kIntervals), 0.f));
|
/external/skia/gm/ |
D | dashcircle.cpp | 123 static constexpr SkScalar kIntervals[][2]{ in onDraw() local 136 static constexpr int kN = SK_ARRAY_COUNT(kIntervals); in onDraw() 147 sk_sp<SkPathEffect> deffects[SK_ARRAY_COUNT(kIntervals)]; in onDraw() 148 sk_sp<SkPathEffect> thinDEffects[SK_ARRAY_COUNT(kIntervals)]; in onDraw() 152 SkScalar scaledIntervals[2] = {kCircumference * kIntervals[i][0], in onDraw() 153 kCircumference * kIntervals[i][1]}; in onDraw() 157 scaledIntervals[0] = kThinCircumference * kIntervals[i][0]; in onDraw() 158 scaledIntervals[1] = kThinCircumference * kIntervals[i][1]; in onDraw()
|
D | inversepaths.cpp | 50 constexpr SkScalar kIntervals[] = { 4.f, 3.f }; in make_dash() local 51 return SkDashPathEffect::Make(kIntervals, SK_ARRAY_COUNT(kIntervals), 0); in make_dash()
|
D | dashing.cpp | 574 static constexpr SkScalar kIntervals[] = {5.f, 0.f, 2.f, 0.f}; variable 576 dashPaint.setPathEffect(SkDashPathEffect::Make(kIntervals, SK_ARRAY_COUNT(kIntervals), 0.f));
|
/external/skqp/tests/ |
D | GrShapeTest.cpp | 750 static const SkScalar kIntervals[] = { 0.25, 3.f, 0.5, 2.f }; in make_dash() local 752 return SkDashPathEffect::Make(kIntervals, SK_ARRAY_COUNT(kIntervals), kPhase); in make_dash() 2276 static constexpr SkScalar kIntervals[] = {1, 2}; in DEF_TEST() local 2277 auto dash = SkDashPathEffect::Make(kIntervals, SK_ARRAY_COUNT(kIntervals), 1.5f); in DEF_TEST()
|
/external/skia/tests/ |
D | GrShapeTest.cpp | 750 static const SkScalar kIntervals[] = { 0.25, 3.f, 0.5, 2.f }; in make_dash() local 752 return SkDashPathEffect::Make(kIntervals, SK_ARRAY_COUNT(kIntervals), kPhase); in make_dash() 2276 static constexpr SkScalar kIntervals[] = {1, 2}; in DEF_TEST() local 2277 auto dash = SkDashPathEffect::Make(kIntervals, SK_ARRAY_COUNT(kIntervals), 1.5f); in DEF_TEST()
|