(SVGPathSegLinetoHorizontalRel) seg;
h.linetoHorizontalRel(s.getX());
break;
}
case SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS: {
SVGPathSegLinetoVerticalAbs s =
(SVGPathSegLinetoVerticalAbs) seg;
h.linetoVerticalAbs(s.getY());
break;
}
case SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL: {
SVGPathSegLinetoVerticalRel s =
(SVGPathSegLinetoVerticalRel) seg;
h.linetoVerticalRel(s.getY());
break;
}
case SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS: {
SVGPathSegCurvetoCubicSmoothAbs s =
(SVGPathSegCurvetoCubicSmoothAbs) seg;
h.curvetoCubicSmoothAbs
(s.getX2(), s.getY2(), s.getX(), s.getY());
break;
}
case SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL: {
SVGPathSegCurvetoCubicSmoothRel s =
(SVGPathSegCurvetoCubicSmoothRel) seg;
h.curvetoCubicSmoothRel
(s.getX2(), s.getY2(), s.getX(), s.getY());
break;
}
case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS: {
SVGPathSegCurvetoQuadraticSmoothAbs s =
(SVGPathSegCurvetoQuadraticSmoothAbs) seg;
h.curvetoQuadraticSmoothAbs(s.getX(), s.getY());
break;
}
case SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL: {
SVGPathSegCurvetoQuadraticSmoothRel s =
(SVGPathSegCurvetoQuadraticSmoothRel) seg;
h.curvetoQuadraticSmoothRel(s.getX(), s.getY());
break;
}
}
}
h.endPath();