Lines Matching defs:point1
121 FloatPoint point1;
124 if (!m_source->parseCurveToCubicSegment(point1, point2, targetPoint))
129 point1 += m_currentPoint;
133 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates);
138 m_consumer->curveToCubic(point1, point2, targetPoint, m_mode);
156 FloatPoint point1 = m_currentPoint;
157 point1.scale(2, 2);
158 point1.move(-m_controlPoint.x(), -m_controlPoint.y());
164 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates);
175 FloatPoint point1;
177 if (!m_source->parseCurveToQuadraticSegment(point1, targetPoint))
181 m_controlPoint = point1;
182 FloatPoint point1 = m_currentPoint;
183 point1.move(2 * m_controlPoint.x(), 2 * m_controlPoint.y());
186 point1.move(2 * m_currentPoint.x(), 2 * m_currentPoint.y());
190 point1.scale(gOneOverThree, gOneOverThree);
193 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates);
199 m_consumer->curveToQuadratic(point1, targetPoint, m_mode);
219 FloatPoint point1(m_currentPoint.x() + 2 * cubicPoint.x(), m_currentPoint.y() + 2 * cubicPoint.y());
225 point1.scale(gOneOverThree, gOneOverThree);
228 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates);
274 FloatPoint point1 = m_currentPoint;
278 return decomposeArcToCubic(angle, rx, ry, point1, targetPoint, largeArc, sweep);
412 bool SVGPathParser::decomposeArcToCubic(float angle, float rx, float ry, FloatPoint& point1, FloatPoint& point2, bool largeArcFlag, bool sweepFlag)
414 FloatSize midPointDistance = point1 - point2;
438 point1 = pointTransform.mapPoint(point1);
440 FloatSize delta = point2 - point1;
450 FloatPoint centerPoint = point1 + point2;
454 float theta1 = FloatPoint(point1 - centerPoint).slopeAngleRadians();
482 point1 = FloatPoint(cosStartTheta - t * sinStartTheta, sinStartTheta + t * cosStartTheta);
483 point1.move(centerPoint.x(), centerPoint.y());
489 m_consumer->curveToCubic(pointTransform.mapPoint(point1), pointTransform.mapPoint(point2),