Lines Matching refs:maxXY
109 SkScalar maxXY = (&pts[1].fX)[xyOffset]; in clip_line() local
110 bool swapped = maxXY < minXY; in clip_line()
113 swap(minXY, maxXY); in clip_line()
116 SkASSERT(minXY <= maxXY); in clip_line()
119 if (maxXY < leftTop || minXY > rightBottom) { in clip_line()
133 if (maxXY > rightBottom) { in clip_line()
134 maxXY = rightBottom + SkScalarMod(maxXY - rightBottom, intervalLength); in clip_line()
136 maxXY += priorPhase; // for rectangles, adjust by prior phase in clip_line()
140 SkASSERT(maxXY >= minXY); in clip_line()
143 swap(minXY, maxXY); in clip_line()
146 (&pts[1].fX)[xyOffset] = maxXY; in clip_line()
148 if (minXY == maxXY) { in clip_line()