Lines Matching refs:targetPoint
51 FloatPoint targetPoint;
52 if (!m_source->parseMoveToSegment(targetPoint))
57 m_currentPoint += targetPoint;
59 m_currentPoint = targetPoint;
63 m_consumer->moveTo(targetPoint, m_closePath, m_mode);
70 FloatPoint targetPoint;
71 if (!m_source->parseLineToSegment(targetPoint))
76 m_currentPoint += targetPoint;
78 m_currentPoint = targetPoint;
81 m_consumer->lineTo(targetPoint, m_mode);
123 FloatPoint targetPoint;
124 if (!m_source->parseCurveToCubicSegment(point1, point2, targetPoint))
131 targetPoint += m_currentPoint;
133 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates);
136 m_currentPoint = targetPoint;
138 m_consumer->curveToCubic(point1, point2, targetPoint, m_mode);
145 FloatPoint targetPoint;
146 if (!m_source->parseCurveToCubicSmoothSegment(point2, targetPoint))
161 targetPoint += m_currentPoint;
164 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates);
167 m_currentPoint = targetPoint;
169 m_consumer->curveToCubicSmooth(point2, targetPoint, m_mode);
176 FloatPoint targetPoint;
177 if (!m_source->parseCurveToQuadraticSegment(point1, targetPoint))
184 FloatPoint point2(targetPoint.x() + 2 * m_controlPoint.x(), targetPoint.y() + 2 * m_controlPoint.y());
188 targetPoint += m_currentPoint;
193 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates);
197 m_currentPoint = targetPoint;
199 m_consumer->curveToQuadratic(point1, targetPoint, m_mode);
205 FloatPoint targetPoint;
206 if (!m_source->parseCurveToQuadraticSmoothSegment(targetPoint))
220 FloatPoint point2(targetPoint.x() + 2 * cubicPoint.x(), targetPoint.y() + 2 * cubicPoint.y());
223 targetPoint += m_currentPoint;
228 m_consumer->curveToCubic(point1, point2, targetPoint, AbsoluteCoordinates);
231 m_currentPoint = targetPoint;
233 m_consumer->curveToQuadraticSmooth(targetPoint, m_mode);
244 FloatPoint targetPoint;
245 if (!m_source->parseArcToSegment(rx, ry, angle, largeArc, sweep, targetPoint))
257 arcIsZeroLength = targetPoint == FloatPoint::zero();
259 arcIsZeroLength = targetPoint == m_currentPoint;
264 m_currentPoint += targetPoint;
266 m_currentPoint = targetPoint;
269 m_consumer->lineTo(targetPoint, m_mode);
276 targetPoint += m_currentPoint;
277 m_currentPoint = targetPoint;
278 return decomposeArcToCubic(angle, rx, ry, point1, targetPoint, largeArc, sweep);
280 m_consumer->arcTo(rx, ry, angle, largeArc, sweep, targetPoint, m_mode);
484 FloatPoint targetPoint = FloatPoint(cosEndTheta, sinEndTheta);
485 targetPoint.move(centerPoint.x(), centerPoint.y());
486 point2 = targetPoint;
490 pointTransform.mapPoint(targetPoint), AbsoluteCoordinates);