Lines Matching refs:clip
113 void SkBlitter::blitMask(const SkMask& mask, const SkIRect& clip) {
114 SkASSERT(mask.fBounds.contains(clip));
117 int cx = clip.fLeft;
118 int cy = clip.fTop;
121 int height = clip.height();
125 if (cx == maskLeft && clip.fRight == mask.fBounds.fRight) {
134 int rite_edge = clip.fRight - maskLeft;
171 int width = clip.width();
174 const uint8_t* aa = mask.getAddr8(clip.fLeft, clip.fTop);
179 int height = clip.height();
180 int y = clip.fTop;
182 this->blitAntiH(clip.fLeft, y, aa, runs);
191 void SkBlitter::blitMaskRegion(const SkMask& mask, const SkRegion& clip) {
192 if (clip.quickReject(mask.fBounds)) {
196 SkRegion::Cliperator clipper(clip, mask.fBounds);
205 void SkBlitter::blitRectRegion(const SkIRect& rect, const SkRegion& clip) {
206 SkRegion::Cliperator clipper(clip, rect);
215 void SkBlitter::blitRegion(const SkRegion& clip) {
216 SkRegion::Iterator iter(clip);
236 void SkNullBlitter::blitMask(const SkMask& mask, const SkIRect& clip) {}
389 void SkRectClipBlitter::blitMask(const SkMask& mask, const SkIRect& clip) {
390 SkASSERT(mask.fBounds.contains(clip));
392 SkIRect r = clip;
522 void SkRgnClipBlitter::blitMask(const SkMask& mask, const SkIRect& clip) {
523 SkASSERT(mask.fBounds.contains(clip));
525 SkRegion::Cliperator iter(*fRgn, clip);
541 SkBlitter* SkBlitterClipper::apply(SkBlitter* blitter, const SkRegion* clip,
543 if (clip) {
544 const SkIRect& clipR = clip->getBounds();
546 if (clip->isEmpty() || (ir && !SkIRect::Intersects(clipR, *ir))) {
548 } else if (clip->isRect()) {
554 fRgnBlitter.init(blitter, clip);
734 virtual void blitMask(const SkMask& mask, const SkIRect& clip) {
739 fProxy->blitMask(mask, clip);
744 fProxy->blitMask(mask, clip);