Home
last modified time | relevance | path

Searched refs:gOps (Results 1 – 11 of 11) sorted by relevance

/third_party/flutter/skia/samplecode/
DSampleComplexClip.cpp80 } gOps[] = { //extra spaces in names for measureText in onDrawContent() local
93 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); ++op) { in onDrawContent()
94 size_t idx = invA * SK_ARRAY_COUNT(gOps) + op; in onDrawContent()
105 canvas->clipPath(clipB, gOps[op].fOp); in onDrawContent()
127 … canvas->drawSimpleText(gOps[op].fName, strlen(gOps[op].fName), SkTextEncoding::kUTF8, in onDrawContent()
129 … txtX += font.measureText(gOps[op].fName, strlen(gOps[op].fName), SkTextEncoding::kUTF8); in onDrawContent()
DSampleRegion.cpp295 } gOps[] = { in onDrawContent() local
313 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); op++) { in onDrawContent()
314 canvas->drawSimpleText(gOps[op].fName, strlen(gOps[op].fName), SkTextEncoding::kUTF8, in onDrawContent()
317 this->drawRgnOped(canvas, gOps[op].fOp, gOps[op].fColor); in onDrawContent()
321 this->drawPathOped(canvas, gOps[op].fOp, gOps[op].fColor); in onDrawContent()
/third_party/skia/samplecode/
DSampleComplexClip.cpp79 } gOps[] = { //extra spaces in names for measureText in onDrawContent() local
89 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); ++op) { in onDrawContent()
90 size_t idx = invA * SK_ARRAY_COUNT(gOps) + op; in onDrawContent()
101 canvas->clipPath(clipB, gOps[op].fOp); in onDrawContent()
123 … canvas->drawSimpleText(gOps[op].fName, strlen(gOps[op].fName), SkTextEncoding::kUTF8, in onDrawContent()
125 … txtX += font.measureText(gOps[op].fName, strlen(gOps[op].fName), SkTextEncoding::kUTF8); in onDrawContent()
/third_party/flutter/skia/gm/
Dsimpleaaclip.cpp163 } gOps[] = { in onDraw() local
176 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); op++) { in onDraw()
177 canvas->drawString(gOps[op].fName, 75.0f, 50.0f, font, textPaint); in onDraw()
180 this->drawRgnOped(canvas, gOps[op].fOp, gOps[op].fColor); in onDraw()
182 this->drawPathsOped(canvas, gOps[op].fOp, gOps[op].fColor); in onDraw()
Dcomplexclip.cpp90 } gOps[] = { //extra spaces in names for measureText in onDraw() local
122 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); ++op) { in onDraw()
134 canvas->clipPath(clipB, gOps[op].fOp, fDoAAClip); in onDraw()
158 … canvas->drawSimpleText(gOps[op].fName, strlen(gOps[op].fName), SkTextEncoding::kUTF8, txtX, 220, in onDraw()
160 … txtX += font.measureText(gOps[op].fName, strlen(gOps[op].fName), SkTextEncoding::kUTF8); in onDraw()
Dcomplexclip3.cpp73 } gOps[] = { in onDraw() local
91 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); ++op) { in onDraw()
104 canvas->clipPath(*secondClip, gOps[op].fOp, doAAB); in onDraw()
117 gOps[op].fName, in onDraw()
/third_party/skia/gm/
Dsimpleaaclip.cpp163 } gOps[] = { in onDraw() local
172 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); op++) { in onDraw()
173 canvas->drawString(gOps[op].fName, 75.0f, 50.0f, font, textPaint); in onDraw()
176 this->drawRgnOped(canvas, gOps[op].fOp, gOps[op].fColor); in onDraw()
178 this->drawPathsOped(canvas, gOps[op].fOp, gOps[op].fColor); in onDraw()
Dcomplexclip3.cpp69 } gOps[] = { in onDraw() local
84 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); ++op) { in onDraw()
97 canvas->clipPath(*secondClip, gOps[op].fOp, doAAB); in onDraw()
110 gOps[op].fName, in onDraw()
Dcomplexclip.cpp91 } gOps[] = { //extra spaces in names for measureText in onDraw() local
120 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); ++op) { in onDraw()
132 canvas->clipPath(clipB, gOps[op].fOp, fDoAAClip); in onDraw()
156 … canvas->drawSimpleText(gOps[op].fName, strlen(gOps[op].fName), SkTextEncoding::kUTF8, txtX, 220, in onDraw()
158 … txtX += font.measureText(gOps[op].fName, strlen(gOps[op].fName), SkTextEncoding::kUTF8); in onDraw()
/third_party/skia/tests/
DClipStackTest.cpp227 static const SkClipOp gOps[] = { in test_bounds() local
253 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); ++op) { in test_bounds()
271 stack.clipRect(rectB, SkMatrix::I(), gOps[op], false); in test_bounds()
275 stack.clipRRect(rrectB, SkMatrix::I(), gOps[op], false); in test_bounds()
279 stack.clipPath(pathB, SkMatrix::I(), gOps[op], false); in test_bounds()
291 (gOps[op] == SkClipOp::kIntersect)); in test_bounds()
/third_party/flutter/skia/tests/
DClipStackTest.cpp256 static const SkClipOp gOps[] = { in test_bounds() local
285 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); ++op) { in test_bounds()
302 stack.clipRect(rectB, SkMatrix::I(), gOps[op], false); in test_bounds()
306 stack.clipRRect(rrectB, SkMatrix::I(), gOps[op], false); in test_bounds()
310 stack.clipPath(pathB, SkMatrix::I(), gOps[op], false); in test_bounds()
322 (gOps[op] == kIntersect_SkClipOp)); in test_bounds()