Lines Matching +full:cap +full:- +full:std
4 * Use of this source code is governed by a BSD-style license that can be
58 ERRORF(reporter, "%s style[%d] cap[%d] join[%d] antialias[%d]" in drawAndTest()
74 static const SkPaint::Cap gCaps[] = { in iter_paint()
89 for (size_t cap = 0; cap < std::size(gCaps); ++cap) { in iter_paint() local
90 for (size_t join = 0; join < std::size(gJoins); ++join) { in iter_paint()
91 for (size_t style = 0; style < std::size(gStyles); ++style) { in iter_paint()
92 if (drawCaps && SkPaint::kButt_Cap != gCaps[cap] in iter_paint()
100 paint.setStrokeCap(gCaps[cap]); in iter_paint()
117 static void make_M(SkPath* path) { path->moveTo(CX, CY); } in make_M()
118 static void make_MM(SkPath* path) { path->moveTo(CX, CY).moveTo(CX, CY); } in make_MM()
119 static void make_MZM(SkPath* path) { path->moveTo(CX, CY).close().moveTo(CX, CY); } in make_MZM()
120 static void make_L(SkPath* path) { path->moveTo(CX, CY).lineTo(CX, CY); } in make_L()
121 static void make_Q(SkPath* path) { path->moveTo(CX, CY).quadTo(CX, CY, CX, CY); } in make_Q()
122 static void make_C(SkPath* path) { path->moveTo(CX, CY).cubicTo(CX, CY, CX, CY, CX, CY); } in make_C()
125 * - if the path is drawn inverse, it should draw everywhere
126 * - if the path is drawn non-inverse, it should draw nowhere
129 * - path (empty, degenerate line/quad/cubic w/ and w/o close
130 * - paint style
131 * - path filltype
132 * - path stroke variants (e.g. caps, joins, width)
145 for (size_t i = 0; i < std::size(gMakeProc); ++i) { in test_emptydrawing()
155 for (size_t fill = 0; fill < std::size(gFills); ++fill) { in test_emptydrawing()