• Home
  • Raw
  • Download

Lines Matching refs:clip

101 void SkBlitter::blitMask(const SkMask& mask, const SkIRect& clip) {  in blitMask()  argument
102 SkASSERT(mask.fBounds.contains(clip)); in blitMask()
105 int cx = clip.fLeft; in blitMask()
106 int cy = clip.fTop; in blitMask()
109 int height = clip.height(); in blitMask()
113 if (cx == maskLeft && clip.fRight == mask.fBounds.fRight) { in blitMask()
122 int rite_edge = clip.fRight - maskLeft; in blitMask()
159 int width = clip.width(); in blitMask()
162 const uint8_t* aa = mask.getAddr(clip.fLeft, clip.fTop); in blitMask()
167 int height = clip.height(); in blitMask()
168 int y = clip.fTop; in blitMask()
170 this->blitAntiH(clip.fLeft, y, aa, runs); in blitMask()
179 void SkBlitter::blitMaskRegion(const SkMask& mask, const SkRegion& clip) { in blitMaskRegion() argument
180 if (clip.quickReject(mask.fBounds)) { in blitMaskRegion()
184 SkRegion::Cliperator clipper(clip, mask.fBounds); in blitMaskRegion()
193 void SkBlitter::blitRectRegion(const SkIRect& rect, const SkRegion& clip) { in blitRectRegion() argument
194 SkRegion::Cliperator clipper(clip, rect); in blitRectRegion()
203 void SkBlitter::blitRegion(const SkRegion& clip) { in blitRegion() argument
204 SkRegion::Iterator iter(clip); in blitRegion()
224 void SkNullBlitter::blitMask(const SkMask& mask, const SkIRect& clip) {} in blitMask() argument
346 void SkRectClipBlitter::blitMask(const SkMask& mask, const SkIRect& clip) { in blitMask() argument
347 SkASSERT(mask.fBounds.contains(clip)); in blitMask()
349 SkIRect r = clip; in blitMask()
441 void SkRgnClipBlitter::blitMask(const SkMask& mask, const SkIRect& clip) { in blitMask() argument
442 SkASSERT(mask.fBounds.contains(clip)); in blitMask()
444 SkRegion::Cliperator iter(*fRgn, clip); in blitMask()
460 SkBlitter* SkBlitterClipper::apply(SkBlitter* blitter, const SkRegion* clip, in apply() argument
462 if (clip) { in apply()
463 const SkIRect& clipR = clip->getBounds(); in apply()
465 if (clip->isEmpty() || (ir && !SkIRect::Intersects(clipR, *ir))) { in apply()
467 } else if (clip->isRect()) { in apply()
473 fRgnBlitter.init(blitter, clip); in apply()
645 virtual void blitMask(const SkMask& mask, const SkIRect& clip) { in blitMask() argument
650 fProxy->blitMask(mask, clip); in blitMask()
655 fProxy->blitMask(mask, clip); in blitMask()