/third_party/skia/tests/ |
H A D | StrokeTest.cpp | 111 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 D | EmptyPathTest.cpp | 66 SkPaint::kButt_Cap, in iter_paint() 83 if (drawCaps && SkPaint::kButt_Cap != gCaps[cap] in iter_paint()
|
/third_party/skia/src/core/ |
H A D | SkScan_Hairline.cpp | 523 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 D | path_stroke_with_zero_length.cpp | 85 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 D | circulararcs.cpp | 102 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 D | crbug_1257515.cpp | 74 p.setStrokeCap(SkPaint::kButt_Cap); in DEF_SIMPLE_GM()
|
H A D | labyrinth.cpp | 97 draw_labyrinth(canvas, SkPaint::kButt_Cap); in DEF_SIMPLE_GM()
|
H A D | quadpaths.cpp | 80 {SkPaint::kButt_Cap, SkPaint::kBevel_Join, "Butt"}, 210 {SkPaint::kButt_Cap, SkPaint::kBevel_Join, "Butt"},
|
H A D | trickycubicstrokes.cpp | 177 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 D | smallpaths.cpp | 360 paint.setStrokeCap(SkPaint::kButt_Cap); 373 paint.setStrokeCap(SkPaint::kButt_Cap); 385 paint.setStrokeCap(SkPaint::kButt_Cap);
|
H A D | nonclosedpaths.cpp | 89 SkPaint::kButt_Cap, SkPaint::kRound_Cap, SkPaint::kSquare_Cap
|
H A D | linepaths.cpp | 64 {SkPaint::kButt_Cap, SkPaint::kBevel_Join, "Butt"}, in draw()
|
/third_party/skia/bench/ |
H A D | BezierBench.cpp | 96 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 D | Paint_getStrokeCap.cpp | 8 SkDebugf("kButt_Cap %c= default stroke cap\n", in REG_FIDDLE() 9 SkPaint::kButt_Cap == paint.getStrokeCap() ? '=' : '!'); in REG_FIDDLE()
|
H A D | Paint_053.cpp | 15 for (SkPaint::Cap c : { SkPaint::kButt_Cap, SkPaint::kRound_Cap, SkPaint::kSquare_Cap } ) { in REG_FIDDLE()
|
H A D | Canvas_drawPoints.cpp | 19 for (const auto cap : { SkPaint::kRound_Cap, SkPaint::kSquare_Cap, SkPaint::kButt_Cap } ) { in REG_FIDDLE()
|
H A D | Canvas_drawPath.cpp | 19 for (auto cap: { SkPaint::kButt_Cap, SkPaint::kSquare_Cap, SkPaint::kRound_Cap } ) { in REG_FIDDLE()
|
H A D | PaintDump.cpp | 7 case SkPaint::kButt_Cap: return "SkPaint::kButt_Cap"; in REG_FIDDLE()
|
/third_party/skia/include/core/ |
H A D | SkPaint.h | 326 kButt_Cap, //!< no stroke extension enumerator 330 kDefault_Cap = kButt_Cap, //!< equivalent to kButt_Cap
|
/third_party/skia/src/gpu/geometry/ |
H A D | GrStyledShape.cpp | 591 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 D | Paint.cpp | 40 SkPaint::kButt_Cap, // 0 in parse_fill_stroke()
|
/third_party/skia/modules/sksg/include/ |
H A D | SkSGPaint.h | 52 SkPaint::Cap fStrokeCap = SkPaint::kButt_Cap;
|
/third_party/skia/src/gpu/tessellate/ |
H A D | StrokeIterator.h | 180 case SkPaint::kButt_Cap: in finishOpenContour() 213 case SkPaint::kButt_Cap: in finishOpenContour()
|
/third_party/skia/modules/androidkit/src/ |
H A D | Paint.cpp | 49 paint->setStrokeCap(SkPaint::kButt_Cap); in Paint_SetStrokeCap()
|
/third_party/skia/src/pdf/ |
H A D | SkPDFGraphicState.cpp | 27 case SkPaint::kButt_Cap: return 0; in to_stroke_cap()
|