Lines Matching refs:clipRects
53 ClipRect* clipRects;
108 mcState.clipRects = nullptr;
113 // loop through the layers and free the data allocated to the clipRects.
114 // See setup_MC_state, clipRects is only allocated when the clip isn't empty; and empty
118 sk_free(layers[i].mcState.clipRects);
123 sk_free(mcState.clipRects);
158 state->clipRects = (ClipRect*)sk_malloc_throw(sizeof(ClipRect));
159 state->clipRects->left = clip.fLeft;
160 state->clipRects->top = clip.fTop;
161 state->clipRects->right = clip.fRight;
162 state->clipRects->bottom = clip.fBottom;
242 bounds.setLTRB(state.clipRects[0].left,
243 state.clipRects[0].top,
244 state.clipRects[0].right,
245 state.clipRects[0].bottom);
247 bounds.join({state.clipRects[i].left,
248 state.clipRects[i].top,
249 state.clipRects[i].right,
250 state.clipRects[i].bottom});