Home
last modified time | relevance | path

Searched refs:kButt_Cap (Results 1 – 25 of 56) sorted by relevance

123

/external/skia/tests/
DStrokeTest.cpp118 s1.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality()
119 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality()
128 s1.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality()
129 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.1f); in test_strokerec_equality()
131 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kBevel_Join, 2.9f); in test_strokerec_equality()
144 s1.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality()
145 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality()
157 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.1f); in test_strokerec_equality()
159 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kBevel_Join, 2.9f); in test_strokerec_equality()
DEmptyPathTest.cpp75 SkPaint::kButt_Cap, in iter_paint()
92 if (drawCaps && SkPaint::kButt_Cap != gCaps[cap] in iter_paint()
/external/skia/src/core/
DSkScan_Hairline.cpp521 const int capOut = SkPaint::kButt_Cap == capStyle ? 1 : 2; in hair_path()
574 if (SkPaint::kButt_Cap != capStyle) { in hair_path()
587 if (SkPaint::kButt_Cap != capStyle) { in hair_path()
594 if (SkPaint::kButt_Cap != capStyle) { in hair_path()
601 if (SkPaint::kButt_Cap != capStyle) { in hair_path()
616 if (SkPaint::kButt_Cap != capStyle) { in hair_path()
625 if (SkPaint::kButt_Cap != capStyle && prevVerb == SkPath::kMove_Verb) { in hair_path()
634 if (SkPaint::kButt_Cap != capStyle) { in hair_path()
645 hair_path<SkPaint::kButt_Cap>(path, clip, blitter, SkScan::HairLineRgn); in HairPath()
649 hair_path<SkPaint::kButt_Cap>(path, clip, blitter, SkScan::AntiHairLineRgn); in AntiHairPath()
/external/skia/bench/
DBezierBench.cpp96 DEF_BENCH( return new BezierBench(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2, draw_quad); )
100 DEF_BENCH( return new BezierBench(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2, draw_cubic); )
DTessellateBench.cpp252 stroke.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kMiter_Join, 4); in make_simple_cubic_path()
303 stroke.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kBevel_Join, 0); in make_motionmark_paths()
/external/skia/gm/
Dpath_stroke_with_zero_length.cpp85 SkPaint::kButt_Cap,
178 int expectedCaps = ((SkPaint::kButt_Cap == cap) || !verb) ? 0 : 1; in draw_zero_length_capped_paths()
256 if (SkPaint::kButt_Cap == cap) { in draw_zero_length_capped_paths_dbl_contour()
Dcirculararcs.cpp102 p->setStrokeCap(SkPaint::kButt_Cap); in DEF_ARC_GM()
126 p->setStrokeCap(SkPaint::kButt_Cap); in DEF_ARC_GM()
327 for (auto cap : {SkPaint::kRound_Cap, SkPaint::kButt_Cap, SkPaint::kSquare_Cap}) {
Dcrbug_1257515.cpp74 p.setStrokeCap(SkPaint::kButt_Cap);
Dsmallpaths.cpp360 paint.setStrokeCap(SkPaint::kButt_Cap); in onDraw()
373 paint.setStrokeCap(SkPaint::kButt_Cap); in onDraw()
385 paint.setStrokeCap(SkPaint::kButt_Cap); in onDraw()
Dlabyrinth.cpp97 draw_labyrinth(canvas, SkPaint::kButt_Cap); in DEF_SIMPLE_GM()
Dquadpaths.cpp80 {SkPaint::kButt_Cap, SkPaint::kBevel_Join, "Butt"}, in onDraw()
210 {SkPaint::kButt_Cap, SkPaint::kBevel_Join, "Butt"}, in onDraw()
Dnonclosedpaths.cpp89 SkPaint::kButt_Cap, SkPaint::kRound_Cap, SkPaint::kSquare_Cap in onDraw()
Ddashing.cpp525 p.setStrokeCap(SkPaint::kButt_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}) {
/external/skia/docs/examples/
DPaint_getStrokeCap.cpp9 SkPaint::kButt_Cap == paint.getStrokeCap() ? '=' : '!'); in draw()
DPaint_053.cpp15 for (SkPaint::Cap c : { SkPaint::kButt_Cap, SkPaint::kRound_Cap, SkPaint::kSquare_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()
DPaintDump.cpp7 case SkPaint::kButt_Cap: return "SkPaint::kButt_Cap"; in str()
/external/skia/include/core/
DSkPaint.h334 kButt_Cap, //!< no stroke extension enumerator
338 kDefault_Cap = kButt_Cap, //!< equivalent to kButt_Cap
/external/skia/src/gpu/ganesh/geometry/
DGrStyledShape.cpp591 if (!fShape.isArc() || fStyle.strokeRec().getCap() == SkPaint::kButt_Cap) { in simplify()
724 cap = SkPaint::kButt_Cap; in simplifyStroke()
739 if (fStyle.strokeRec().getCap() == SkPaint::kButt_Cap) { in simplifyStroke()
762 outset.fX = SkPaint::kButt_Cap == fStyle.strokeRec().getCap() ? 0.f : outset.fY; in simplifyStroke()
768 outset.fY = SkPaint::kButt_Cap == fStyle.strokeRec().getCap() ? 0.f : outset.fX; in simplifyStroke()
/external/skia/modules/sksg/include/
DSkSGPaint.h53 SkPaint::Cap fStrokeCap = SkPaint::kButt_Cap;
/external/skia/src/gpu/tessellate/
DStrokeIterator.h180 case SkPaint::kButt_Cap: in finishOpenContour()
213 case SkPaint::kButt_Cap: in finishOpenContour()
/external/skia/src/gpu/graphite/
DDrawParams.h26 StrokeStyle() : fHalfWidth(0.f), fJoinLimit(0.f), fCap(SkPaint::kButt_Cap) {} in StrokeStyle()
/external/skia/modules/jetski/src/
DPaint.cpp49 paint->setStrokeCap(SkPaint::kButt_Cap); in Paint_SetStrokeCap()
/external/skia/src/pdf/
DSkPDFGraphicState.cpp27 case SkPaint::kButt_Cap: return 0; in to_stroke_cap()

123