Home
last modified time | relevance | path

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

/external/skia/samplecode/
DSampleComplexClip.cpp80 } gOps[] = { //extra spaces in names for measureText in onDrawContent() local
90 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); ++op) { in onDrawContent()
91 size_t idx = invA * SK_ARRAY_COUNT(gOps) + op; in onDrawContent()
102 canvas->clipPath(clipB, gOps[op].fOp); in onDrawContent()
124 … canvas->drawSimpleText(gOps[op].fName, strlen(gOps[op].fName), SkTextEncoding::kUTF8, in onDrawContent()
126 … txtX += font.measureText(gOps[op].fName, strlen(gOps[op].fName), SkTextEncoding::kUTF8); in onDrawContent()
/external/skqp/samplecode/
DSampleComplexClip.cpp88 } gOps[] = { //extra spaces in names for measureText in onDrawContent() local
101 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); ++op) { in onDrawContent()
102 size_t idx = invA * SK_ARRAY_COUNT(gOps) + op; in onDrawContent()
113 canvas->clipPath(clipB, gOps[op].fOp); in onDrawContent()
135 canvas->drawSimpleText(gOps[op].fName, strlen(gOps[op].fName), kUTF8_SkTextEncoding, in onDrawContent()
137 … txtX += font.measureText(gOps[op].fName, strlen(gOps[op].fName), kUTF8_SkTextEncoding); in onDrawContent()
DSampleRegion.cpp300 } gOps[] = { in onDrawContent() local
318 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); op++) { in onDrawContent()
319 canvas->drawSimpleText(gOps[op].fName, strlen(gOps[op].fName), kUTF8_SkTextEncoding, in onDrawContent()
322 this->drawRgnOped(canvas, gOps[op].fOp, gOps[op].fColor); in onDrawContent()
326 this->drawPathOped(canvas, gOps[op].fOp, gOps[op].fColor); in onDrawContent()
/external/skia/gm/
Dsimpleaaclip.cpp164 } gOps[] = { in onDraw() local
173 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); op++) { in onDraw()
174 canvas->drawString(gOps[op].fName, 75.0f, 50.0f, font, textPaint); in onDraw()
177 this->drawRgnOped(canvas, gOps[op].fOp, gOps[op].fColor); in onDraw()
179 this->drawPathsOped(canvas, gOps[op].fOp, gOps[op].fColor); in onDraw()
Dcomplexclip3.cpp70 } gOps[] = { in onDraw() local
85 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); ++op) { in onDraw()
98 canvas->clipPath(*secondClip, gOps[op].fOp, doAAB); in onDraw()
111 gOps[op].fName, in onDraw()
Dcomplexclip.cpp92 } gOps[] = { //extra spaces in names for measureText in onDraw() local
121 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); ++op) { in onDraw()
133 canvas->clipPath(clipB, gOps[op].fOp, fDoAAClip); in onDraw()
157 … canvas->drawSimpleText(gOps[op].fName, strlen(gOps[op].fName), SkTextEncoding::kUTF8, txtX, 220, in onDraw()
159 … txtX += font.measureText(gOps[op].fName, strlen(gOps[op].fName), SkTextEncoding::kUTF8); in onDraw()
/external/skqp/gm/
Dsimpleaaclip.cpp149 } gOps[] = { in onDraw() local
162 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); op++) { in onDraw()
163 canvas->drawString(gOps[op].fName, 75.0f, 50.0f, font, textPaint); in onDraw()
166 this->drawRgnOped(canvas, gOps[op].fOp, gOps[op].fColor); in onDraw()
168 this->drawPathsOped(canvas, gOps[op].fOp, gOps[op].fColor); in onDraw()
Dcomplexclip.cpp77 } gOps[] = { //extra spaces in names for measureText in onDraw() local
109 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); ++op) { in onDraw()
121 canvas->clipPath(clipB, gOps[op].fOp, fDoAAClip); in onDraw()
145 … canvas->drawSimpleText(gOps[op].fName, strlen(gOps[op].fName), kUTF8_SkTextEncoding, txtX, 220, in onDraw()
147 … txtX += font.measureText(gOps[op].fName, strlen(gOps[op].fName), kUTF8_SkTextEncoding); in onDraw()
Dcomplexclip3.cpp61 } gOps[] = { in onDraw() local
79 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); ++op) { in onDraw()
92 canvas->clipPath(*secondClip, gOps[op].fOp, doAAB); in onDraw()
105 gOps[op].fName, in onDraw()
/external/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()
303 stack.clipRect(rectB, SkMatrix::I(), gOps[op], false); in test_bounds()
307 stack.clipRRect(rrectB, SkMatrix::I(), gOps[op], false); in test_bounds()
311 stack.clipPath(pathB, SkMatrix::I(), gOps[op], false); in test_bounds()
323 (gOps[op] == kIntersect_SkClipOp)); in test_bounds()
/external/skqp/tests/
DClipStackTest.cpp254 static const SkClipOp gOps[] = { in test_bounds() local
283 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); ++op) { in test_bounds()
300 stack.clipRect(rectB, SkMatrix::I(), gOps[op], false); in test_bounds()
304 stack.clipRRect(rrectB, SkMatrix::I(), gOps[op], false); in test_bounds()
308 stack.clipPath(pathB, SkMatrix::I(), gOps[op], false); in test_bounds()
320 (gOps[op] == kIntersect_SkClipOp)); in test_bounds()