/third_party/skia/gm/ |
D | quadpaths.cpp | 69 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()
|
D | linepaths.cpp | 53 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()
|
D | cubicpaths.cpp | 158 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()
|
D | emptypath.cpp | 62 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()
|
D | typeface.cpp | 85 static constexpr SkFontStyle gStyles[] = { variable 92 constexpr int gStylesCount = SK_ARRAY_COUNT(gStyles); 104 fFaces[i] = SkTypeface::MakeFromName(nullptr, gStyles[i]); in onOnceBeforeDraw()
|
D | degeneratesegments.cpp | 277 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/ |
D | quadpaths.cpp | 69 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()
|
D | linepaths.cpp | 53 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()
|
D | cubicpaths.cpp | 158 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()
|
D | emptypath.cpp | 62 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()
|
D | typeface.cpp | 85 static constexpr SkFontStyle gStyles[] = { variable 92 constexpr int gStylesCount = SK_ARRAY_COUNT(gStyles); 104 fFaces[i] = SkTypeface::MakeFromName(nullptr, gStyles[i]); in onOnceBeforeDraw()
|
D | degeneratesegments.cpp | 277 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/ |
D | SampleAnimBlur.cpp | 31 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/ |
D | SampleAnimBlur.cpp | 31 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/ |
D | EmptyPathTest.cpp | 75 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/ |
D | EmptyPathTest.cpp | 75 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()
|