Home
last modified time | relevance | path

Searched refs:gStyles (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/gm/
Dquadpaths.cpp69 constexpr StyleAndName gStyles[] = { in onDraw() local
109 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in onDraw()
117 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw()
124 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw()
136 canvas->drawString(gStyles[style].fName, 0, rect.height() + 12.0f, in onDraw()
199 constexpr StyleAndName gStyles[] = { in onDraw() local
239 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in onDraw()
247 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw()
254 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw()
266 canvas->drawString(gStyles[style].fName, 0, rect.height() + 12.0f, in onDraw()
Dlinepaths.cpp53 constexpr StyleAndName gStyles[] = { in draw() local
102 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in draw()
110 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in draw()
117 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in draw()
130 canvas->drawString(gStyles[style].fName, 0, rect.height() + 12.0f, in draw()
Dcubicpaths.cpp158 constexpr StyleAndName gStyles[] = { in onDraw() local
199 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in onDraw()
207 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw()
214 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw()
227 … canvas->drawString(gStyles[style].fName, 0, rect.height() + 12, font, labelPaint); in onDraw()
277 constexpr StyleAndName gStyles[] = { in onDraw() local
319 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in onDraw()
327 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw()
334 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw()
348 … canvas->drawString(gStyles[style].fName, 0, rect.height() + 12, font, labelPaint); in onDraw()
Demptypath.cpp62 constexpr StyleAndName gStyles[] = { in onDraw() local
79 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw()
95 gStyles[style].fStyle, gFills[fill].fFill); in onDraw()
107 canvas->drawString(gStyles[style].fName, 0, rect.height() + 15.0f, in onDraw()
Dtypeface.cpp85 static constexpr SkFontStyle gStyles[] = { variable
92 constexpr int gStylesCount = SK_ARRAY_COUNT(gStyles);
104 fFaces[i] = SkTypeface::MakeFromName(nullptr, gStyles[i]); in onOnceBeforeDraw()
Ddegeneratesegments.cpp277 constexpr StyleAndName gStyles[] = { in onDraw() local
309 unsigned numStyles = SK_ARRAY_COUNT(gStyles); in onDraw()
322 StyleAndName style = gStyles[(rand.nextU() >> 16) % numStyles]; in onDraw()
/third_party/flutter/skia/gm/
Dquadpaths.cpp69 constexpr StyleAndName gStyles[] = { in onDraw() local
109 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in onDraw()
117 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw()
124 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw()
136 canvas->drawString(gStyles[style].fName, 0, rect.height() + 12.0f, in onDraw()
199 constexpr StyleAndName gStyles[] = { in onDraw() local
239 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in onDraw()
247 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw()
254 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw()
266 canvas->drawString(gStyles[style].fName, 0, rect.height() + 12.0f, in onDraw()
Dlinepaths.cpp53 constexpr StyleAndName gStyles[] = { in draw() local
102 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in draw()
110 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in draw()
117 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in draw()
130 canvas->drawString(gStyles[style].fName, 0, rect.height() + 12.0f, in draw()
Dcubicpaths.cpp158 constexpr StyleAndName gStyles[] = { in onDraw() local
199 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in onDraw()
207 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw()
214 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw()
227 … canvas->drawString(gStyles[style].fName, 0, rect.height() + 12, font, labelPaint); in onDraw()
277 constexpr StyleAndName gStyles[] = { in onDraw() local
319 canvas->translate((rect.width() + 40 * SK_Scalar1) * SK_ARRAY_COUNT(gStyles), 0); in onDraw()
327 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw()
334 gCaps[cap].fCap, gCaps[cap].fJoin, gStyles[style].fStyle, in onDraw()
348 … canvas->drawString(gStyles[style].fName, 0, rect.height() + 12, font, labelPaint); in onDraw()
Demptypath.cpp62 constexpr StyleAndName gStyles[] = { in onDraw() local
79 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in onDraw()
95 gStyles[style].fStyle, gFills[fill].fFill); in onDraw()
107 canvas->drawString(gStyles[style].fName, 0, rect.height() + 15.0f, in onDraw()
Dtypeface.cpp85 static constexpr SkFontStyle gStyles[] = { variable
92 constexpr int gStylesCount = SK_ARRAY_COUNT(gStyles);
104 fFaces[i] = SkTypeface::MakeFromName(nullptr, gStyles[i]); in onOnceBeforeDraw()
Ddegeneratesegments.cpp277 constexpr StyleAndName gStyles[] = { in onDraw() local
309 unsigned numStyles = SK_ARRAY_COUNT(gStyles); in onDraw()
322 StyleAndName style = gStyles[(rand.nextU() >> 16) % numStyles]; in onDraw()
/third_party/flutter/skia/samplecode/
DSampleAnimBlur.cpp31 static const SkBlurStyle gStyles[] = { in onDrawContent() local
39 for (size_t i = 0; i < SK_ARRAY_COUNT(gStyles); ++i) { in onDrawContent()
41 paint.setMaskFilter(SkMaskFilter::MakeBlur(gStyles[i], in onDrawContent()
/third_party/skia/samplecode/
DSampleAnimBlur.cpp31 static const SkBlurStyle gStyles[] = { in onDrawContent() local
39 for (size_t i = 0; i < SK_ARRAY_COUNT(gStyles); ++i) { in onDrawContent()
41 paint.setMaskFilter(SkMaskFilter::MakeBlur(gStyles[i], in onDrawContent()
/third_party/flutter/skia/tests/
DEmptyPathTest.cpp75 static const SkPaint::Style gStyles[] = { in iter_paint() local
82 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in iter_paint()
84 && SkPaint::kFill_Style != gStyles[style]) { in iter_paint()
93 paint.setStyle(gStyles[style]); in iter_paint()
/third_party/skia/tests/
DEmptyPathTest.cpp75 static const SkPaint::Style gStyles[] = { in iter_paint() local
82 for (size_t style = 0; style < SK_ARRAY_COUNT(gStyles); ++style) { in iter_paint()
84 && SkPaint::kFill_Style != gStyles[style]) { in iter_paint()
93 paint.setStyle(gStyles[style]); in iter_paint()