Lines Matching refs:x1
212 virtual void svgMoveTo(double x1, double y1, bool closed, bool abs = true) = 0;
213 virtual void svgLineTo(double x1, double y1, bool abs = true) = 0;
216 virtual void svgCurveToCubic(double x1, double y1, double x2, double y2, double x, double y, bool abs = true) = 0;
218 virtual void svgCurveToQuadratic(double /*x*/, double /*y*/, double /*x1*/, double /*y1*/, bool /*abs*/ = true) { }
232 double contrlx, contrly, curx, cury, subpathx, subpathy, tox, toy, x1, y1, x2, y2, xc, yc;
349 if (!parseNumber(ptr, end, x1) || !parseNumber(ptr, end, y1) ||
355 px1 = relative ? curx + x1 : x1;
371 svgCurveToCubic(narrowPrecisionToFloat(x1), narrowPrecisionToFloat(y1), narrowPrecisionToFloat(x2),
415 if (!parseNumber(ptr, end, x1) || !parseNumber(ptr, end, y1) ||
420 px1 = relative ? (curx + 2 * (x1 + curx)) * (1.0 / 3.0) : (curx + 2 * x1) * (1.0 / 3.0);
422 px2 = relative ? ((curx + tox) + 2 * (x1 + curx)) * (1.0 / 3.0) : (tox + 2 * x1) * (1.0 / 3.0);
430 contrlx = relative ? curx + x1 : x1;
436 svgCurveToQuadratic(narrowPrecisionToFloat(x1), narrowPrecisionToFloat(y1),
541 double x0, y0, x1, y1, xc, yc;
586 x1 = a00 * x + a01 * y;
588 x1 = a00 * (curx + x) + a01 * (cury + y);
596 (x1, y1) is new point in transformed coordinate space.
601 d = (x1 - x0) * (x1 - x0) + (y1 - y0) * (y1 - y0);
613 xc = 0.5 * (x0 + x1) - sfactor * (y1 - y0);
614 yc = 0.5 * (y0 + y1) + sfactor * (x1 - x0);
618 th1 = atan2(y1 - yc, x1 - xc);
631 double x1, y1, x2, y2, x3, y3;
649 x1 = xc + cos(_th0) - t * sin(_th0);
656 svgCurveToCubic(narrowPrecisionToFloat(a00 * x1 + a01 * y1), narrowPrecisionToFloat(a10 * x1 + a11 * y1),
685 virtual void svgMoveTo(double x1, double y1, bool closed, bool abs = true)
687 current.setX(narrowPrecisionToFloat(abs ? x1 : current.x() + x1));
693 virtual void svgLineTo(double x1, double y1, bool abs = true)
695 current.setX(narrowPrecisionToFloat(abs ? x1 : current.x() + x1));
699 virtual void svgCurveToCubic(double x1, double y1, double x2, double y2, double x, double y, bool abs = true)
702 x1 += current.x();
709 m_path->addBezierCurveTo(FloatPoint::narrowPrecision(x1, y1), FloatPoint::narrowPrecision(x2, y2), current);
742 virtual void svgMoveTo(double x1, double y1, bool, bool abs = true)
745 m_vector.append(SVGPathElement::createSVGPathSegMovetoAbs(narrowPrecisionToFloat(x1), narrowPrecisionToFloat(y1)));
747 m_vector.append(SVGPathElement::createSVGPathSegMovetoRel(narrowPrecisionToFloat(x1), narrowPrecisionToFloat(y1)));
749 virtual void svgLineTo(double x1, double y1, bool abs = true)
752 m_vector.append(SVGPathElement::createSVGPathSegLinetoAbs(narrowPrecisionToFloat(x1), narrowPrecisionToFloat(y1)));
754 m_vector.append(SVGPathElement::createSVGPathSegLinetoRel(narrowPrecisionToFloat(x1), narrowPrecisionToFloat(y1)));
770 virtual void svgCurveToCubic(double x1, double y1, double x2, double y2, double x, double y, bool abs = true)
774 narrowPrecisionToFloat(x1), narrowPrecisionToFloat(y1),
778 narrowPrecisionToFloat(x1), narrowPrecisionToFloat(y1),
790 virtual void svgCurveToQuadratic(double x, double y, double x1, double y1, bool abs)
793 m_vector.append(SVGPathElement::createSVGPathSegCurvetoQuadraticAbs(narrowPrecisionToFloat(x1), narrowPrecisionToFloat(y1),
796 m_vector.append(SVGPathElement::createSVGPathSegCurvetoQuadraticRel(narrowPrecisionToFloat(x1), narrowPrecisionToFloat(y1),