Lines Matching refs:clipRects
53 ClipRect* clipRects; member
108 mcState.clipRects = nullptr; in SkCanvasState_v1()
115 sk_free(layers[i].mcState.clipRects); in ~SkCanvasState_v1()
118 sk_free(mcState.clipRects); in ~SkCanvasState_v1()
150 state->clipRects = (ClipRect*)sk_malloc_throw(sizeof(ClipRect)); in setup_MC_state()
151 state->clipRects->left = clip.fLeft; in setup_MC_state()
152 state->clipRects->top = clip.fTop; in setup_MC_state()
153 state->clipRects->right = clip.fRight; in setup_MC_state()
154 state->clipRects->bottom = clip.fBottom; in setup_MC_state()
236 bounds.set(state.clipRects[0].left, in setup_canvas_from_MC_state()
237 state.clipRects[0].top, in setup_canvas_from_MC_state()
238 state.clipRects[0].right, in setup_canvas_from_MC_state()
239 state.clipRects[0].bottom); in setup_canvas_from_MC_state()
241 bounds.join(state.clipRects[i].left, in setup_canvas_from_MC_state()
242 state.clipRects[i].top, in setup_canvas_from_MC_state()
243 state.clipRects[i].right, in setup_canvas_from_MC_state()
244 state.clipRects[i].bottom); in setup_canvas_from_MC_state()