/** * Implements {@link * org.apache.batik.parser.PathHandler#curvetoCubicSmoothAbs(float,float,float,float)}. */ public void curvetoCubicSmoothAbs(float x2, float y2, float x, float y) throws ParseException { if (lastAbs.getPathSegType()==SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS) { curvetoCubicAbs(lastAbs.getX() + (lastAbs.getX() - lastAbs.getX2()), lastAbs.getY() + (lastAbs.getY() - lastAbs.getY2()), x2, y2, x, y); } else { curvetoCubicAbs(lastAbs.getX(), lastAbs.getY(), x2, y2, x, y); } }
/** * Implements {@link * org.apache.batik.parser.PathHandler#curvetoCubicSmoothAbs(float,float,float,float)}. */ public void curvetoCubicSmoothAbs(float x2, float y2, float x, float y) throws ParseException { if (lastAbs.getPathSegType()==SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS) { curvetoCubicAbs(lastAbs.getX() + (lastAbs.getX() - lastAbs.getX2()), lastAbs.getY() + (lastAbs.getY() - lastAbs.getY2()), x2, y2, x, y); } else { curvetoCubicAbs(lastAbs.getX(), lastAbs.getY(), x2, y2, x, y); } }