Home
last modified time | relevance | path

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

/external/skia/samplecode/
DSampleComplexClip.cpp85 } 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 int 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()
DSampleRegion.cpp226 } gOps[] = { in onDrawContent() local
245 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); op++) { in onDrawContent()
246 …canvas->drawText(gOps[op].fName, strlen(gOps[op].fName), SkIntToScalar(75), SkIntToScalar(50), tex… in onDrawContent()
248 this->drawRgnOped(canvas, gOps[op].fOp, gOps[op].fColor); in onDrawContent()
252 this->drawPathOped(canvas, gOps[op].fOp, gOps[op].fColor); in onDrawContent()
DSampleAAClip2.cpp149 } gOps[] = { in onDrawContent() local
164 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); op++) { in onDrawContent()
165 …canvas->drawText(gOps[op].fName, strlen(gOps[op].fName), SkIntToScalar(75), SkIntToScalar(50), tex… in onDrawContent()
167 this->drawRgnOped(canvas, gOps[op].fOp, gOps[op].fColor); in onDrawContent()
/external/skia/gm/
Dcomplexclip.cpp82 } gOps[] = { //extra spaces in names for measureText in onDraw() local
95 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); ++op) { in onDraw()
107 canvas->clipPath(clipB, gOps[op].fOp, fDoAAClip); in onDraw()
120 canvas->drawText(gOps[op].fName, strlen(gOps[op].fName), in onDraw()
122 txtX += paint.measureText(gOps[op].fName, strlen(gOps[op].fName)); in onDraw()