Home
last modified time | relevance | path

Searched refs:kRound_Cap (Results 1 – 25 of 85) sorted by relevance

1234

/external/skia/docs/examples/
DPaint_setStrokeCap_a.cpp8 paint.setStrokeCap(SkPaint::kRound_Cap); in draw()
11 SkPaint::kRound_Cap == paint.getStrokeCap() ? '=' : '!'); in draw()
DPaintDump.cpp8 case SkPaint::kRound_Cap: return "SkPaint::kRound_Cap"; in str()
89 p.setStrokeCap(SkPaint::kRound_Cap); in draw()
DSkParsePath_FromSVGString.cpp20 paint.setStrokeCap(SkPaint::kRound_Cap); in draw()
DCanvas_drawPoint.cpp12 paint.setStrokeCap(SkPaint::kRound_Cap); in draw()
Dbezier_curves.cpp13 paint.setStrokeCap(SkPaint::kRound_Cap); in draw()
DPath_addPoly_2.cpp9 paint.setStrokeCap(SkPaint::kRound_Cap); in draw()
DPaint_053.cpp15 for (SkPaint::Cap c : { SkPaint::kButt_Cap, SkPaint::kRound_Cap, SkPaint::kSquare_Cap } ) { in draw()
DPath_addPoly.cpp9 paint.setStrokeCap(SkPaint::kRound_Cap); in draw()
DPath_close.cpp9 paint.setStrokeCap(SkPaint::kRound_Cap); in draw()
Dstroke_closed_degenerate_path.cpp22 capStroke.setStrokeCap(SkPaint::kRound_Cap); in draw()
DMatrix_invert.cpp17 paint.setStrokeCap(SkPaint::kRound_Cap); in draw()
DCanvas_drawPoints.cpp19 for (const auto cap : { SkPaint::kRound_Cap, SkPaint::kSquare_Cap, SkPaint::kButt_Cap } ) { in draw()
DCanvas_drawPath.cpp19 for (auto cap: { SkPaint::kButt_Cap, SkPaint::kSquare_Cap, SkPaint::kRound_Cap } ) { in draw()
/external/skia/gm/
Dpoints.cpp61 p2.setStrokeCap(SkPaint::kRound_Cap); in onDraw()
94 const SkPaint::Cap caps[] = { SkPaint::kSquare_Cap, SkPaint::kRound_Cap };
Ddashing.cpp210 p.setStrokeCap(SkPaint::kRound_Cap); in drawDashedLines()
338 for (auto cap : {SkPaint::kRound_Cap, SkPaint::kSquare_Cap}) { in onDraw()
383 paint.setStrokeCap(SkPaint::kRound_Cap); in onDraw()
394 paint.setStrokeCap(SkPaint::kRound_Cap); in onDraw()
572 p.setStrokeCap(SkPaint::kRound_Cap);
606 for (auto cap : {SkPaint::kButt_Cap, SkPaint::kSquare_Cap, SkPaint::kRound_Cap}) {
633 for (auto c : {SkPaint::kButt_Cap, SkPaint::kSquare_Cap, SkPaint::kRound_Cap}) {
Db_119394958.cpp29 paint.setStrokeCap(SkPaint::kRound_Cap);
Dpatheffects.cpp202 SkStrokePathEffect::Make(20, SkPaint::kRound_Join, SkPaint::kRound_Cap, 0), in onDraw()
205 SkPaint::kRound_Cap, 0), in onDraw()
209 SkPaint::kRound_Cap, 0), in onDraw()
Dstrokes.cpp138 strokePaint.setStrokeCap(i ? SkPaint::kSquare_Cap : SkPaint::kRound_Cap); in onDraw()
233 paint.setStrokeCap(SkPaint::kRound_Cap);
281 p.setStrokeCap(SkPaint::kRound_Cap);
542 paint.setStrokeCap(SkPaint::kRound_Cap);
558 paint.setStrokeCap(SkPaint::kRound_Cap);
Dcirculararcs.cpp118 p->setStrokeCap(SkPaint::kRound_Cap); in DEF_ARC_GM()
142 p->setStrokeCap(SkPaint::kRound_Cap); in DEF_ARC_GM()
327 for (auto cap : {SkPaint::kRound_Cap, SkPaint::kButt_Cap, SkPaint::kSquare_Cap}) {
Dcrbug_1257515.cpp43 p.setStrokeCap(SkPaint::kRound_Cap);
/external/skia/bench/
DBezierBench.cpp98 DEF_BENCH( return new BezierBench(SkPaint::kRound_Cap, SkPaint::kMiter_Join, 50, draw_quad); )
102 DEF_BENCH( return new BezierBench(SkPaint::kRound_Cap, SkPaint::kMiter_Join, 50, draw_cubic); )
/external/skia/src/effects/
DSkDashPathEffect.cpp239 } else if (SkPaint::kRound_Cap != rec.getCap()) { in onAsPoints()
248 if (SkPaint::kRound_Cap == rec.getCap()) { in onAsPoints()
302 SkASSERT(SkPaint::kRound_Cap != rec.getCap()); // can't handle partial circles in onAsPoints()
351 SkASSERT(SkPaint::kRound_Cap != rec.getCap()); // can't handle partial circles in onAsPoints()
/external/skia/tools/viewer/
DPatchSlide.cpp431 fPE[0] = SkStrokePathEffect::Make(20, SkPaint::kRound_Join, SkPaint::kRound_Cap); in ManyStrokesSlide()
433 auto p0 = SkStrokePathEffect::Make(25, SkPaint::kRound_Join, SkPaint::kRound_Cap); in ManyStrokesSlide()
434 auto p1 = SkStrokePathEffect::Make(20, SkPaint::kRound_Join, SkPaint::kRound_Cap); in ManyStrokesSlide()
461 p.setStrokeCap(SkPaint::kRound_Cap); in draw()
/external/skia/tests/
DStrokeTest.cpp133 s2.setStrokeParams(SkPaint::kRound_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality()
161 s2.setStrokeParams(SkPaint::kRound_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality()
/external/skia/src/gpu/ganesh/ops/
DDashOp.cpp293 DashCap capType = (this->cap() == SkPaint::kRound_Cap) ? kRound_DashCap : kNonRound_DashCap; in onCreateProgramInfo()
335 DashCap capType = (SkPaint::kRound_Cap == cap) ? kRound_DashCap : kNonRound_DashCap; in onPrepareDraws()
492 devBloatY = (cap == SkPaint::kRound_Cap) ? 0.5f : 0.0f; in onPrepareDraws()
525 if (SkPaint::kRound_Cap == cap && 0 != args.fSrcStrokeWidth) { in onPrepareDraws()
1213 if (SkPaint::kRound_Cap == cap) { in CanDrawDashLine()
1269 Intervals intervalType = SkPaint::kRound_Cap == cap ? in GR_DRAW_OP_TEST_DEFINE()
1282 SkScalar min = SkPaint::kRound_Cap == cap ? kIntervalMinCircles : kIntervalMin; in GR_DRAW_OP_TEST_DEFINE()

1234