Home
last modified time | relevance | path

Searched refs:xyOffset (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/utils/
DSkDashPath.cpp107 int xyOffset = SkToBool(dxy.fY); // 0 to adjust horizontal, 1 to adjust vertical in clip_line() local
109 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()
/external/skqp/src/utils/
DSkDashPath.cpp106 int xyOffset = SkToBool(dxy.fY); // 0 to adjust horizontal, 1 to adjust vertical in clip_line() local
108 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()