This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ArcToBezier { | |
/** | |
* Usage: | |
* | |
* javac ArcToBezier.java | |
* java ArcToBezier x0 y0 x1 x2 rx ry theta large-arc-flag sweep-flag | |
* | |
* where (x0, y0) are the starting points of the arc, and the rest of the | |
* arguments correspond to the values in the elliptical arc curve command: |