Lines Matching defs:clip
88 // (e.g. Android's device-space clip regions are going away, and are not compatible with the
244 void SkBaseDevice::drawEdgeAAQuad(const SkRect& r, const SkPoint clip[4], SkCanvas::QuadAAFlags aa,
251 if (clip) {
252 // Draw the clip directly as a quad since it's a filled color with no local coords
254 clipPath.addPoly(clip, 4, true);
289 // Since drawImageRect requires a srcRect, the dst clip is implemented as a true clip
562 auto& clip = this->writableClip();
563 clip.fClipBounds = deviceRect;
564 clip.fIsRect = true;
565 clip.fIsAA = false;
569 const auto& clip = this->clip();
570 if (clip.fClipBounds.isEmpty()) {
572 } else if (clip.fIsRect) {
590 // A rectangular clip remains rectangular if the intersection is a rect
593 // Conservatively, we can leave the clip bounds unchanged and respect the difference op.
595 // clip on an axis, we can shrink the clip bounds.