Home
last modified time | relevance | path

Searched refs:SkDashPathEffect (Results 1 – 25 of 34) sorted by relevance

12

/external/skia/gm/
Dbug530095.cpp23 paint.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, -40));
29 paint.setPathEffect(SkDashPathEffect::Make(smIntervals, smIntervalCount, -0.40f));
37 paint.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, 0));
44 paint.setPathEffect(SkDashPathEffect::Make(smIntervals, smIntervalCount, 0));
58 p.setPathEffect(SkDashPathEffect::Make(intervals, SK_ARRAY_COUNT(intervals), 100));
Ddashing.cpp25 p.setPathEffect(SkDashPathEffect::Make(intervals, 2, phase)); in drawline()
178 paint.setPathEffect(SkDashPathEffect::Make(vals, count, phase)); in onDraw()
226 p.setPathEffect(SkDashPathEffect::Make(intervals, 2, phase)); in drawDashedLines()
502 p.setPathEffect(SkDashPathEffect::Make(intervals, SK_ARRAY_COUNT(intervals), 0));
515 p.setPathEffect(SkDashPathEffect::Make(intervals, SK_ARRAY_COUNT(intervals), 0));
545 p.setPathEffect(SkDashPathEffect::Make(intervals, SK_ARRAY_COUNT(intervals), 0));
Ddashcubics.cpp28 paint.setPathEffect(SkDashPathEffect::Make(intervals, 2, 0)); in flower()
Dstroketext.cpp59 p.setPathEffect(SkDashPathEffect::Make(intervals, SK_ARRAY_COUNT(intervals), phase)); in draw_text_set()
Ddrawregionmodes.cpp60 paint.setPathEffect(SkDashPathEffect::Make(intervals, 2, 2.5f)); in onDraw()
Ddashcircle.cpp85 p.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, 0)); in onDraw()
Dpathcontourstart.cpp33 fDashPaint.setPathEffect(SkDashPathEffect::Make(intervals.begin(), intervals.count(), 0)); in ContourStartGM()
Dpatheffects.cpp47 paint->setPathEffect(SkDashPathEffect::Make(inter, SK_ARRAY_COUNT(inter), 0)); in dash_pe()
Dinversepaths.cpp51 return SkDashPathEffect::Make(kIntervals, SK_ARRAY_COUNT(kIntervals), 0); in make_dash()
Darcto.cpp226 p.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, 0));
Dstrokedlines.cpp140 p.setPathEffect(SkDashPathEffect::Make(intervals, intervalCount, kStrokeWidth)); in onOnceBeforeDraw()
Dcirculararcs.cpp179 paints.back().setPathEffect(SkDashPathEffect::Make(kDashIntervals, 2, 0.f));
/external/skia/src/effects/
DSkDashPathEffect.cpp15 SkDashPathEffect::SkDashPathEffect(const SkScalar intervals[], int count, SkScalar phase) in SkDashPathEffect() function in SkDashPathEffect
34 SkDashPathEffect::~SkDashPathEffect() { in ~SkDashPathEffect()
38 bool SkDashPathEffect::filterPath(SkPath* dst, const SkPath& src, in filterPath()
158 bool SkDashPathEffect::asPoints(PointData* results, in asPoints()
354 SkPathEffect::DashType SkDashPathEffect::asADash(DashInfo* info) const { in asADash()
365 void SkDashPathEffect::flatten(SkWriteBuffer& buffer) const { in flatten()
370 sk_sp<SkFlattenable> SkDashPathEffect::CreateProc(SkReadBuffer& buffer) { in CreateProc()
381 void SkDashPathEffect::toString(SkString* str) const { in toString()
396 sk_sp<SkPathEffect> SkDashPathEffect::Make(const SkScalar intervals[], int count, SkScalar phase) { in Make()
400 return sk_sp<SkPathEffect>(new SkDashPathEffect(intervals, count, phase)); in Make()
/external/skia/include/effects/
DSkDashPathEffect.h17 class SK_API SkDashPathEffect : public SkPathEffect {
51 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkDashPathEffect) in SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS() argument
58 ~SkDashPathEffect() override;
59 SkDashPathEffect(const SkScalar intervals[], int count, SkScalar phase);
/external/skia/tests/
DDashPathEffectTest.cpp23 sk_sp<SkPathEffect> dash(SkDashPathEffect::Make(intervals, count, phase)); in DEF_TEST()
33 sk_sp<SkPathEffect> dash(SkDashPathEffect::Make(intervals, count, 0.0f)); in DEF_TEST()
95 sk_sp<SkPathEffect> dash(SkDashPathEffect::Make(intervals, 2, 0)); in DEF_TEST()
115 p.setPathEffect(SkDashPathEffect::Make(intervals, SK_ARRAY_COUNT(intervals), 0)); in DEF_TEST()
DDrawPathTest.cpp194 auto dontAssert = SkDashPathEffect::Make(vals, 4, -248.135982067f); in test_crbug_140642()
204 auto dontAssert = SkDashPathEffect::Make(intervals, 2, -10); in test_crbug_124652()
283 sk_sp<SkPathEffect> dash(SkDashPathEffect::Make(intervals, 2, 0)); in test_infinite_dash()
303 sk_sp<SkPathEffect> dash(SkDashPathEffect::Make(intervals, 2, 0)); in test_crbug_165432()
DAsADashTest.cpp25 sk_sp<SkPathEffect> pe(SkDashPathEffect::Make(inIntervals, 4, phase)); in DEF_TEST()
36 sk_sp<SkPathEffect> pe(SkDashPathEffect::Make(inIntervals, 4, phase)); in DEF_TEST()
DPictureTest.cpp165 sk_sp<SkPathEffect> dash(SkDashPathEffect::Make(intervals, 2, 0)); in test_gpu_veto()
255 paint.setPathEffect(SkDashPathEffect::Make(intervals, 2, 25)); in test_gpu_veto()
271 paint.setPathEffect(SkDashPathEffect::Make(intervals, 2, 25)); in test_gpu_veto()
1098 paint.setPathEffect(SkDashPathEffect::Make(intervals, 2, 25)); in DEF_TEST()
DGpuDrawPathTest.cpp76 fill_and_stroke(canvas, oval1, oval2, SkDashPathEffect::Make(intervals, 2, 0)); in test_drawSameRectOvals()
/external/skia/bench/
DDashBench.cpp74 paint.setPathEffect(SkDashPathEffect::Make(fIntervals.begin(), fIntervals.count(), 0)); in onDraw()
187 fPE = SkDashPathEffect::Make(vals, 2, 0); in MakeDashBench()
225 fPE = SkDashPathEffect::Make(vals, 2, 0); in DashLineBench()
264 fPathEffect = SkDashPathEffect::Make(vals, 2, SK_Scalar1); in DrawPointsDashingBench()
324 fPathEffect = SkDashPathEffect::Make(intervals, SK_ARRAY_COUNT(intervals), 0); in GiantDashBench()
389 fPathEffect = SkDashPathEffect::Make(vals, 2, SK_Scalar1); in DashGridBench()
/external/skia/src/ports/
DSkGlobalInitialization_default.cpp100 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkDashPathEffect) in InitEffects()
/external/skia/gn/
Deffects.gni32 "$_src/effects/SkDashPathEffect.cpp",
104 "$_include/effects/SkDashPathEffect.h",
/external/skia/samplecode/
DSampleDash.cpp72 SkDashPathEffect dash(interval, len, 0); in onDrawContent()
/external/skia/site/user/api/
Dindex.md65 …- [SkDashPathEffect](http://skia-doc.commondatastorage.googleapis.com/doxygen/doxygen/html/class…
Dskpaint.md188 * SkDashPathEffect: a path effect that implements dashing.

12