Lines Matching defs:point2
122 FloatPoint point2;
124 if (!m_source->parseCurveToCubicSegment(point1, point2, targetPoint))
130 point2 += m_currentPoint;
133 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates);
135 m_controlPoint = point2;
138 m_consumer->curveToCubic(point1, point2, targetPoint, m_mode);
144 FloatPoint point2;
146 if (!m_source->parseCurveToCubicSmoothSegment(point2, targetPoint))
160 point2 += m_currentPoint;
164 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates);
166 m_controlPoint = point2;
169 m_consumer->curveToCubicSmooth(point2, targetPoint, m_mode);
184 FloatPoint point2(targetPoint.x() + 2 * m_controlPoint.x(), targetPoint.y() + 2 * m_controlPoint.y());
187 point2.move(3 * m_currentPoint.x(), 3 * m_currentPoint.y());
191 point2.scale(gOneOverThree, gOneOverThree);
193 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates);
220 FloatPoint point2(targetPoint.x() + 2 * cubicPoint.x(), targetPoint.y() + 2 * cubicPoint.y());
222 point2 += m_currentPoint;
226 point2.scale(gOneOverThree, gOneOverThree);
228 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates);
412 bool SVGPathParser::decomposeArcToCubic(float angle, float rx, float ry, FloatPoint& point1, FloatPoint& point2, bool largeArcFlag, bool sweepFlag)
414 FloatSize midPointDistance = point1 - point2;
439 point2 = pointTransform.mapPoint(point2);
440 FloatSize delta = point2 - point1;
450 FloatPoint centerPoint = point1 + point2;
455 float theta2 = FloatPoint(point2 - centerPoint).slopeAngleRadians();
486 point2 = targetPoint;
487 point2.move(t * sinEndTheta, -t * cosEndTheta);
489 m_consumer->curveToCubic(pointTransform.mapPoint(point1), pointTransform.mapPoint(point2),