Home
last modified time | relevance | path

Searched refs:dashPaint (Results 1 – 4 of 4) sorted by relevance

/external/skia/gm/
Ddashing.cpp554 SkPaint dashPaint; variable
555 dashPaint.setPathEffect(SkDashPathEffect::Make(kIntervals, SK_ARRAY_COUNT(kIntervals), 0.f));
556 SkASSERT(dashPaint.getPathEffect());
557 dashPaint.setStyle(SkPaint::kStroke_Style);
558 dashPaint.setStrokeWidth(20.f);
565 SkScalar pad = 5.f + dashPaint.getStrokeWidth();
575 dashPaint.setStrokeCap(cap);
577 dashPaint.setAntiAlias(aa);
578 canvas->drawLine(line.fA, line.fB, dashPaint);
Dstrokes.cpp129 SkPaint fillPaint, strokePaint, dashPaint; in onDraw() local
143 dashPaint = strokePaint; in onDraw()
145 dashPaint.setPathEffect(SkDashPathEffect::Make(intervals, 2, 0)); in onDraw()
147 dashPaint.getFillPath(fDashedfPath, &fillPath); in onDraw()
149 canvas->drawPath(fDashedfPath, dashPaint); in onDraw()
/external/skqp/gm/
Ddashing.cpp575 SkPaint dashPaint; variable
576 dashPaint.setPathEffect(SkDashPathEffect::Make(kIntervals, SK_ARRAY_COUNT(kIntervals), 0.f));
577 SkASSERT(dashPaint.getPathEffect());
578 dashPaint.setStyle(SkPaint::kStroke_Style);
579 dashPaint.setStrokeWidth(20.f);
586 SkScalar pad = 5.f + dashPaint.getStrokeWidth();
596 dashPaint.setStrokeCap(cap);
598 dashPaint.setAntiAlias(aa);
599 canvas->drawLine(line.fA, line.fB, dashPaint);
Dstrokes.cpp116 SkPaint fillPaint, strokePaint, dashPaint; in onDraw() local
130 dashPaint = strokePaint; in onDraw()
132 dashPaint.setPathEffect(SkDashPathEffect::Make(intervals, 2, 0)); in onDraw()
134 dashPaint.getFillPath(fDashedfPath, &fillPath); in onDraw()
136 canvas->drawPath(fDashedfPath, dashPaint); in onDraw()