Lines Matching refs:pendingClip
89 static void clipOutline(const Outline& outline, SkCanvas* canvas, const SkRect* pendingClip) { in clipOutline() argument
97 if (pendingClip) { in clipOutline()
98 canvas->clipRect(*pendingClip); in clipOutline()
109 if (pendingClip && !pendingClip->contains(rect)) { in clipOutline()
110 canvas->clipRect(*pendingClip); in clipOutline()
114 if (pendingClip) { in clipOutline()
115 (void)rect.intersect(*pendingClip); in clipOutline()
432 const SkRect* pendingClip = nullptr; in setViewProperties() local
439 pendingClip = &clipRect; in setViewProperties()
445 clipOutline(properties.getOutline(), canvas, pendingClip); in setViewProperties()
446 pendingClip = nullptr; in setViewProperties()
449 if (pendingClip) { in setViewProperties()
450 canvas->clipRect(*pendingClip); in setViewProperties()