Home
last modified time | relevance | path

Searched refs:gCaps (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/gm/
Dquadpaths.cpp79 constexpr CapAndName gCaps[] = { in onDraw() local
107 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) { in onDraw()
124 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw()
140 canvas->drawString(gCaps[cap].fName, 0, rect.height() + 36.0f, in onDraw()
209 constexpr CapAndName gCaps[] = { in onDraw() local
237 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) { in onDraw()
254 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw()
270 canvas->drawString(gCaps[cap].fName, 0, rect.height() + 36.0f, in onDraw()
Dlinepaths.cpp63 constexpr CapAndName gCaps[] = { in draw() local
100 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) { in draw()
117 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in draw()
134 canvas->drawString(gCaps[cap].fName, 0, rect.height() + 36.0f, in draw()
Dcubicpaths.cpp168 constexpr CapAndName gCaps[] = { in onDraw() local
197 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) { in onDraw()
214 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw()
229 canvas->drawString(gCaps[cap].fName, 0, rect.height() + 36, font, labelPaint); in onDraw()
287 constexpr CapAndName gCaps[] = { in onDraw() local
317 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) { in onDraw()
334 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw()
350 canvas->drawString(gCaps[cap].fName, 0, rect.height() + 36, font, labelPaint); in onDraw()
Ddegeneratesegments.cpp287 constexpr CapAndName gCaps[] = { in onDraw() local
308 unsigned numCaps = SK_ARRAY_COUNT(gCaps); in onDraw()
323 CapAndName cap = gCaps[(rand.nextU() >> 16) % numCaps]; in onDraw()
/third_party/skia/tests/
DEmptyPathTest.cpp65 static const SkPaint::Cap gCaps[] = { in iter_paint() local
80 for (size_t cap = 0; cap < SK_ARRAY_COUNT(gCaps); ++cap) { in iter_paint()
83 if (drawCaps && SkPaint::kButt_Cap != gCaps[cap] in iter_paint()
91 paint.setStrokeCap(gCaps[cap]); in iter_paint()
/third_party/skia/modules/skottie/src/layers/shapelayer/
DFillStroke.cpp54 static constexpr SkPaint::Cap gCaps[] = { in FillStrokeAdapter() local
60 gCaps[std::min<size_t>(ParseDefault<size_t>(jpaint["lc"], 1) - 1, in FillStrokeAdapter()
61 SK_ARRAY_COUNT(gCaps) - 1)]); in FillStrokeAdapter()