Searched refs:xyOffset (Results 1 – 2 of 2) sorted by relevance
107 int xyOffset = SkToBool(dxy.fY); // 0 to adjust horizontal, 1 to adjust vertical in clip_line() local109 SkScalar minXY = (&pts[0].fX)[xyOffset]; in clip_line()110 SkScalar maxXY = (&pts[1].fX)[xyOffset]; in clip_line()118 SkScalar leftTop = (&bounds.fLeft)[xyOffset]; in clip_line()119 SkScalar rightBottom = (&bounds.fRight)[xyOffset]; in clip_line()146 (&pts[0].fX)[xyOffset] = minXY; in clip_line()147 (&pts[1].fX)[xyOffset] = maxXY; in clip_line()
106 int xyOffset = SkToBool(dxy.fY); // 0 to adjust horizontal, 1 to adjust vertical in clip_line() local108 SkScalar minXY = (&pts[0].fX)[xyOffset]; in clip_line()109 SkScalar maxXY = (&pts[1].fX)[xyOffset]; in clip_line()117 SkScalar leftTop = (&bounds.fLeft)[xyOffset]; in clip_line()118 SkScalar rightBottom = (&bounds.fRight)[xyOffset]; in clip_line()145 (&pts[0].fX)[xyOffset] = minXY; in clip_line()146 (&pts[1].fX)[xyOffset] = maxXY; in clip_line()