Searched refs:gOps (Results 1 – 6 of 6) sorted by relevance
/external/skia/gm/ |
D | simpleaaclip.cpp | 148 } gOps[] = { in onDraw() local 163 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); op++) { in onDraw() 164 canvas->drawText(gOps[op].fName, strlen(gOps[op].fName), in onDraw() 169 this->drawRgnOped(canvas, gOps[op].fOp, gOps[op].fColor); in onDraw() 171 this->drawPathsOped(canvas, gOps[op].fOp, gOps[op].fColor); in onDraw()
|
D | complexclip.cpp | 92 } gOps[] = { //extra spaces in names for measureText in onDraw() local 123 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); ++op) { in onDraw() 135 canvas->clipPath(clipB, gOps[op].fOp, fDoAAClip); in onDraw() 158 canvas->drawText(gOps[op].fName, strlen(gOps[op].fName), in onDraw() 160 txtX += paint.measureText(gOps[op].fName, strlen(gOps[op].fName)); in onDraw()
|
D | complexclip3.cpp | 58 } gOps[] = { in onDraw() local 76 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); ++op) { in onDraw() 89 canvas->clipPath(*secondClip, gOps[op].fOp, doAAB); in onDraw() 102 gOps[op].fName, in onDraw()
|
/external/skia/samplecode/ |
D | SampleComplexClip.cpp | 85 } gOps[] = { //extra spaces in names for measureText in onDrawContent() local 98 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); ++op) { in onDrawContent() 99 size_t idx = invA * SK_ARRAY_COUNT(gOps) + op; in onDrawContent() 110 canvas->clipPath(clipB, gOps[op].fOp); in onDrawContent() 134 canvas->drawText(gOps[op].fName, strlen(gOps[op].fName), in onDrawContent() 136 txtX += paint.measureText(gOps[op].fName, strlen(gOps[op].fName)); in onDrawContent()
|
D | SampleRegion.cpp | 359 } gOps[] = { in onDrawContent() local 378 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); op++) { in onDrawContent() 379 …canvas->drawText(gOps[op].fName, strlen(gOps[op].fName), SkIntToScalar(75), SkIntToScalar(50), tex… in onDrawContent() 381 this->drawRgnOped(canvas, gOps[op].fOp, gOps[op].fColor); in onDrawContent() 385 this->drawPathOped(canvas, gOps[op].fOp, gOps[op].fColor); in onDrawContent()
|
/external/skia/tests/ |
D | ClipStackTest.cpp | 220 static const SkRegion::Op gOps[] = { in test_bounds() local 249 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); ++op) { in test_bounds() 266 stack.clipDevRect(rectB, gOps[op], false); in test_bounds() 270 stack.clipDevRRect(rrectB, gOps[op], false); in test_bounds() 274 stack.clipDevPath(pathB, gOps[op], false); in test_bounds() 286 (gOps[op] == SkRegion::kIntersect_Op)); in test_bounds()
|