Lines Matching defs:clip

24     AutoAAClipValidate(const SkAAClip& clip) : fClip(clip) {
35 #define AUTO_AACLIP_VALIDATE(clip) AutoAAClipValidate acv(clip)
37 #define AUTO_AACLIP_VALIDATE(clip)
222 static Iter Iterate(const SkAAClip& clip) {
223 const RunHead* head = clip.fRunHead;
224 if (!clip.fRunHead) {
225 // A null run head is an empty clip, so return aan already finished iterator.
229 return Iter(clip.getBounds().fTop, head->data(), head->yoffsets(),
746 void blitMask(const SkMask&, const SkIRect& clip) override
831 SkRegion clip(fBounds);
834 SkScan::AntiFillPath(path, clip, &blitter, true);
836 SkScan::FillPath(path, clip, &blitter);
1063 // number of zeros on the left and right of the clip. This information
1395 bool SkAAClip::setPath(const SkPath& path, const SkIRect& clip, bool doAA) {
1398 if (clip.isEmpty()) {
1404 // of clip and ibounds, we create the builder with the snug bounds.
1406 ibounds = clip;
1409 if (ibounds.isEmpty() || !ibounds.intersect(clip)) {
1424 // Once the clip is empty, it cannot become un-empty.
1439 // the intersected clip becomes empty
1456 // bounds, or note that the new rect subsumes our current clip.
1459 // No change or clip becomes empty depending on 'op'
1466 // Wholly inside 'rect', so clip becomes empty or remains unchanged
1476 SkAAClip clip;
1477 clip.setRect(rect);
1478 return this->op(clip, op);
1489 // No change or clip becomes empty depending on 'op'
1496 // Wholly inside 'rect', so clip becomes empty or remains unchanged
1619 // clip it, hence the initialCount parameter.
1903 void SkAAClipBlitter::blitMask(const SkMask& origMask, const SkIRect& clip) {
1904 SkASSERT(fAAClip->getBounds().contains(clip));
1906 if (fAAClip->quickContains(clip)) {
1907 fBlitter->blitMask(origMask, clip);
1932 const void* src = mask->getAddr(clip.fLeft, clip.fTop);
1934 const int width = clip.width();
1939 rowMask.fBounds.fLeft = clip.fLeft;
1940 rowMask.fBounds.fRight = clip.fRight;
1944 int y = clip.fTop;
1945 const int stopY = y + clip.height();
1954 row = fAAClip->findX(row, clip.fLeft, &initialCount);