Lines Matching refs:SkIRect
37 static bool clip_bounds_quick_reject(const SkIRect& clipBounds, const SkIRect& rect) {
38 return clipBounds.isEmpty() || rect.isEmpty() || !SkIRect::Intersects(clipBounds, rect);
49 const SkIRect& maskBounds,
80 static sk_sp<SkData> create_data(const SkIRect& drawRect, const SkIRect& origDevBounds) {
89 static SkIRect extract_draw_rect_from_data(SkData* data, const SkIRect& origDevBounds) {
92 return SkIRect::MakeXYWH(origDevBounds.fLeft + drawRectData->fOffset.fX,
102 const SkIRect& unclippedDevShapeBounds,
103 const SkIRect& clipBounds,
104 SkIRect* drawRect,
191 const SkIRect& maskRect,
234 GrFixedClip clip(sdc->dimensions(), SkIRect::MakeWH(maskRect.width(), maskRect.height()));
245 SkIRect* devBounds) {
260 // Make sure that the resulting SkIRect can have representable width and height
275 SkIRect* unclippedDevShapeBounds,
276 SkIRect* devClipBounds) {
279 : SkIRect::MakeWH(sdc->width(), sdc->height());
282 *unclippedDevShapeBounds = SkIRect::MakeEmpty();
293 SkIRect* boundsForClip,
299 const SkIRect& unclippedDevShapeBounds,
300 const SkIRect& devClipBounds,
311 SkIRect clippedMaskRect, unClippedMaskRect;
382 const SkIRect& unclippedDevShapeBounds,
383 const SkIRect& clipBounds,
384 SkIRect* maskRect,
541 SkIRect unclippedDevShapeBounds, devClipBounds;
551 SkIRect boundsForClip;
563 SkIRect maskRect;