/third_party/flutter/skia/samplecode/ |
D | SampleComplexClip.cpp | 80 } 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()
|
D | SampleRegion.cpp | 295 } 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/ |
D | SampleComplexClip.cpp | 79 } 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/ |
D | simpleaaclip.cpp | 163 } 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()
|
D | complexclip.cpp | 90 } 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()
|
D | complexclip3.cpp | 73 } 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/ |
D | simpleaaclip.cpp | 163 } 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()
|
D | complexclip3.cpp | 69 } 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()
|
D | complexclip.cpp | 91 } 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/ |
D | ClipStackTest.cpp | 227 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/ |
D | ClipStackTest.cpp | 256 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()
|