Searched refs:gCaps (Results 1 – 6 of 6) sorted by relevance
/third_party/skia/gm/ |
D | quadpaths.cpp | 79 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()
|
D | linepaths.cpp | 63 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()
|
D | cubicpaths.cpp | 168 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()
|
D | degeneratesegments.cpp | 287 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/ |
D | EmptyPathTest.cpp | 65 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/ |
D | FillStroke.cpp | 54 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()
|