Home | History | Annotate | Download | only in core

Lines Matching full:poly

1537 static inline bool poly_to_point(SkPoint* pt, const SkPoint poly[], int count) {
1543 pt1.fX = poly[1].fX - poly[0].fX;
1544 pt1.fY = poly[1].fY - poly[0].fY;
1553 pt2.fX = poly[0].fY - poly[2].fY;
1554 pt2.fY = poly[2].fX - poly[0].fX;
1557 pt2.fX = poly[0].fY - poly[3].fY;
1558 pt2.fY = poly[3].fX - poly[0].fX;
1676 static inline bool poly_to_point(SkPoint* pt, const SkPoint poly[], int count) {
1681 pt1.fX = poly[1].fX - poly[0].fX;
1682 pt1.fY = poly[1].fY - poly[0].fY;
1691 pt2.fX = poly[0].fY - poly[2].fY;
1692 pt2.fY = poly[2].fX - poly[0].fX;
1695 pt2.fX = poly[0].fY - poly[3].fY;
1696 pt2.fY = poly[3].fX - poly[0].fX;