• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/WebKit2-7600.1.25/UIProcess/

Lines Matching refs:p2

76 static bool findIntersectionOnLineBetweenPoints(const FloatPoint& p1, const FloatPoint& p2, const FloatPoint& d1, const FloatPoint& d2, FloatPoint& intersection) 
80 if (!findIntersection(p1, p2, d1, d2, temporaryIntersectionPoint))
84 if (p1.x() >= p2.x()) {
85 if (temporaryIntersectionPoint.x() > p1.x() || temporaryIntersectionPoint.x() < p2.x())
88 if (temporaryIntersectionPoint.x() > p2.x() || temporaryIntersectionPoint.x() < p1.x())
91 if (p1.y() >= p2.y()) {
92 if (temporaryIntersectionPoint.y() > p1.y() || temporaryIntersectionPoint.y() < p2.y())
95 if (temporaryIntersectionPoint.y() > p2.y() || temporaryIntersectionPoint.y() < p1.y())
108 FloatPoint p1, p2, p3, p4;
122 } else if (!(intersectForPoint1 = findIntersectionOnLineBetweenPoints(bounds.p1(), bounds.p2(), toClamp.p1(), toClamp.p4(), p1)))
125 if (bounds.containsPoint(toClamp.p2())) {
127 p2 = toClamp.p2();
128 } else if (!(intersectForPoint2 = findIntersectionOnLineBetweenPoints(bounds.p1(), bounds.p2(), toClamp.p2(), toClamp.p3(), p2)))
129 p2 = toClamp.p2();
134 } else if (!(intersectForPoint3 = findIntersectionOnLineBetweenPoints(bounds.p4(), bounds.p3(), toClamp.p2(), toClamp.p3(), p3)))
150 p2 = bounds.p2();
162 findIntersectionOnLineBetweenPoints(bounds.p2(), bounds.p3(), p1, p2, p2);
164 findIntersectionOnLineBetweenPoints(bounds.p2(), bounds.p3(), p4, p3, p3);
166 findIntersectionOnLineBetweenPoints(bounds.p1(), bounds.p4(), p1, p2, p1);
170 return FloatQuad(p1, p2, p3, p4);
193 CGPathAddLineToPoint(path, 0, innerHole.p2().x(), innerHole.p2().y());
199 CGPathAddLineToPoint(path, 0, outerQuad.p2().x(), outerQuad.p2().y());
210 CGPathAddLineToPoint(path, 0, outerQuad.p2().x(), outerQuad.p2().y());