Home
last modified time | relevance | path

Searched refs:clipRects (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/utils/
DSkCanvasStateUtils.cpp52 ClipRect* clipRects; member
109 mcState.clipRects = NULL; in SkCanvasState_v1()
116 sk_free(layers[i].mcState.clipRects); in ~SkCanvasState_v1()
119 sk_free(mcState.clipRects); in ~SkCanvasState_v1()
191 state->clipRects = (ClipRect*) sk_malloc_throw(clipWriter.bytesWritten()); in setup_MC_state()
192 clipWriter.flatten(state->clipRects); in setup_MC_state()
283 clip.op(SkIRect::MakeLTRB(state.clipRects[i].left, in setup_canvas_from_MC_state()
284 state.clipRects[i].top, in setup_canvas_from_MC_state()
285 state.clipRects[i].right, in setup_canvas_from_MC_state()
286 state.clipRects[i].bottom), in setup_canvas_from_MC_state()
/external/skia/gm/
Dcoloremoji.cpp147 const SkRect clipRects[] = { bounds, upperLeftClip, lowerRightClip, interiorClip }; in onDraw() local
153 for (size_t x = 0; x < sizeof(clipRects) / sizeof(SkRect); ++x) { in onDraw()
155 canvas->drawRect(clipRects[x], clipHairline); in onDraw()
158 canvas->clipRect(clipRects[x]); in onDraw()
Dmixedtextblobs.cpp137 const SkRect clipRects[] = { bounds, upperLeftClip, lowerRightClip, interiorClip}; in onDraw() local
139 size_t count = sizeof(clipRects) / sizeof(SkRect); in onDraw()
141 draw_blob(canvas, fBlob, paint, clipRects[x]); in onDraw()