Home | History | Annotate | Download | only in core

Lines Matching refs:clip

34 int SkEdge::setLine(const SkPoint& p0, const SkPoint& p1, const SkIRect* clip,
68 // are we completely above or below the clip?
69 if (clip && (top >= clip->fBottom || bot <= clip->fTop)) {
84 if (clip) {
85 this->chopLineWithClip(*clip);
125 void SkEdge::chopLineWithClip(const SkIRect& clip)
129 SkASSERT(top < clip.fBottom);
131 // clip the line to the top
132 if (top < clip.fTop)
134 SkASSERT(fLastY >= clip.fTop);
135 fX += fDX * (clip.fTop - top);
136 fFirstY = clip.fTop;