Home
last modified time | relevance | path

Searched refs:kButt_Cap (Results 1 - 25 of 59) sorted by relevance

123

/third_party/skia/tests/
H A DStrokeTest.cpp111 s1.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality()
112 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality()
121 s1.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality()
122 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.1f); in test_strokerec_equality()
124 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kBevel_Join, 2.9f); in test_strokerec_equality()
137 s1.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality()
138 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.9f); in test_strokerec_equality()
150 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kRound_Join, 2.1f); in test_strokerec_equality()
152 s2.setStrokeParams(SkPaint::kButt_Cap, SkPaint::kBevel_Join, 2.9f); in test_strokerec_equality()
H A DEmptyPathTest.cpp66 SkPaint::kButt_Cap, in iter_paint()
83 if (drawCaps && SkPaint::kButt_Cap != gCaps[cap] in iter_paint()
/third_party/skia/src/core/
H A DSkScan_Hairline.cpp523 const int capOut = SkPaint::kButt_Cap == capStyle ? 1 : 2;
576 if (SkPaint::kButt_Cap != capStyle) {
589 if (SkPaint::kButt_Cap != capStyle) {
596 if (SkPaint::kButt_Cap != capStyle) {
603 if (SkPaint::kButt_Cap != capStyle) {
618 if (SkPaint::kButt_Cap != capStyle) {
627 if (SkPaint::kButt_Cap != capStyle && prevVerb == SkPath::kMove_Verb) {
636 if (SkPaint::kButt_Cap != capStyle) {
647 hair_path<SkPaint::kButt_Cap>(path, clip, blitter, SkScan::HairLineRgn);
651 hair_path<SkPaint::kButt_Cap>(pat
[all...]
/third_party/skia/gm/
H A 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()
H A 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}) { in DEF_SIMPLE_GM()
H A Dcrbug_1257515.cpp74 p.setStrokeCap(SkPaint::kButt_Cap); in DEF_SIMPLE_GM()
H A Dlabyrinth.cpp97 draw_labyrinth(canvas, SkPaint::kButt_Cap); in DEF_SIMPLE_GM()
H A Dquadpaths.cpp80 {SkPaint::kButt_Cap, SkPaint::kBevel_Join, "Butt"},
210 {SkPaint::kButt_Cap, SkPaint::kBevel_Join, "Butt"},
H A Dtrickycubicstrokes.cpp177 draw_test(canvas, SkPaint::kButt_Cap, SkPaint::kMiter_Join); in DEF_SIMPLE_GM()
238 draw_test(canvas, SkPaint::kButt_Cap, SkPaint::kMiter_Join);
H A Dsmallpaths.cpp360 paint.setStrokeCap(SkPaint::kButt_Cap);
373 paint.setStrokeCap(SkPaint::kButt_Cap);
385 paint.setStrokeCap(SkPaint::kButt_Cap);
H A Dnonclosedpaths.cpp89 SkPaint::kButt_Cap, SkPaint::kRound_Cap, SkPaint::kSquare_Cap
H A Dlinepaths.cpp64 {SkPaint::kButt_Cap, SkPaint::kBevel_Join, "Butt"}, in draw()
/third_party/skia/bench/
H A 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); )
/third_party/skia/docs/examples/
H A DPaint_getStrokeCap.cpp8 SkDebugf("kButt_Cap %c= default stroke cap\n", in REG_FIDDLE()
9 SkPaint::kButt_Cap == paint.getStrokeCap() ? '=' : '!'); in REG_FIDDLE()
H A DPaint_053.cpp15 for (SkPaint::Cap c : { SkPaint::kButt_Cap, SkPaint::kRound_Cap, SkPaint::kSquare_Cap } ) { in REG_FIDDLE()
H A DCanvas_drawPoints.cpp19 for (const auto cap : { SkPaint::kRound_Cap, SkPaint::kSquare_Cap, SkPaint::kButt_Cap } ) { in REG_FIDDLE()
H A DCanvas_drawPath.cpp19 for (auto cap: { SkPaint::kButt_Cap, SkPaint::kSquare_Cap, SkPaint::kRound_Cap } ) { in REG_FIDDLE()
H A DPaintDump.cpp7 case SkPaint::kButt_Cap: return "SkPaint::kButt_Cap"; in REG_FIDDLE()
/third_party/skia/include/core/
H A DSkPaint.h326 kButt_Cap, //!< no stroke extension enumerator
330 kDefault_Cap = kButt_Cap, //!< equivalent to kButt_Cap
/third_party/skia/src/gpu/geometry/
H A 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()
/third_party/skia/experimental/skrive/src/
H A DPaint.cpp40 SkPaint::kButt_Cap, // 0 in parse_fill_stroke()
/third_party/skia/modules/sksg/include/
H A DSkSGPaint.h52 SkPaint::Cap fStrokeCap = SkPaint::kButt_Cap;
/third_party/skia/src/gpu/tessellate/
H A DStrokeIterator.h180 case SkPaint::kButt_Cap: in finishOpenContour()
213 case SkPaint::kButt_Cap: in finishOpenContour()
/third_party/skia/modules/androidkit/src/
H A DPaint.cpp49 paint->setStrokeCap(SkPaint::kButt_Cap); in Paint_SetStrokeCap()
/third_party/skia/src/pdf/
H A DSkPDFGraphicState.cpp27 case SkPaint::kButt_Cap: return 0; in to_stroke_cap()

Completed in 13 milliseconds

123