Lines Matching refs:clip

19     AutoAAClipValidate(const SkAAClip& clip) : fClip(clip) {
30 #define AUTO_AACLIP_VALIDATE(clip) AutoAAClipValidate acv(clip)
32 #define AUTO_AACLIP_VALIDATE(clip)
135 SkAAClip::Iter::Iter(const SkAAClip& clip) {
136 if (clip.isEmpty()) {
138 fTop = fBottom = clip.fBounds.fBottom;
145 const RunHead* head = clip.fRunHead;
151 fTop = clip.fBounds.fTop;
152 fBottom = clip.fBounds.fTop + fCurrYOff->fY + 1;
412 // number of zeros on the left and right of the clip. This information
724 SkAAClip clip;
727 clip.op(iter.rect(), SkRegion::kUnion_Op);
729 this->swap(clip);
1229 virtual void blitMask(const SkMask&, const SkIRect& clip) SK_OVERRIDE
1305 bool SkAAClip::setPath(const SkPath& path, const SkRegion* clip, bool doAA) {
1308 if (clip && clip->isEmpty()) {
1316 if (NULL == clip) {
1318 clip = &tmpClip;
1322 ibounds = clip->getBounds();
1324 if (ibounds.isEmpty() || !ibounds.intersect(clip->getBounds())) {
1333 SkScan::AntiFillPath(path, *clip, &blitter, true);
1335 SkScan::FillPath(path, *clip, &blitter);
1661 * bounds, or note that the new rect subsumes our current clip.
1695 SkAAClip clip;
1696 clip.setRect(*r);
1697 return this->op(*this, clip, op);
1726 SkAAClip clip;
1727 clip.setRect(*r, doAA);
1728 return this->op(*this, clip, op);
1731 bool SkAAClip::op(const SkAAClip& clip, SkRegion::Op op) {
1732 return this->op(*this, clip, op);
1804 // clip it, hence the initialCount parameter.
2104 void SkAAClipBlitter::blitMask(const SkMask& origMask, const SkIRect& clip) {
2105 SkASSERT(fAAClip->getBounds().contains(clip));
2107 if (fAAClip->quickContains(clip)) {
2108 fBlitter->blitMask(origMask, clip);
2134 const void* src = mask->getAddr(clip.fLeft, clip.fTop);
2136 const int width = clip.width();
2141 rowMask.fBounds.fLeft = clip.fLeft;
2142 rowMask.fBounds.fRight = clip.fRight;
2146 int y = clip.fTop;
2147 const int stopY = y + clip.height();
2156 row = fAAClip->findX(row, clip.fLeft, &initialCount);