Skip to content

Instantly share code, notes, and snippets.

View akbarsha03's full-sized avatar
🎯
I just keep trying

Akbarsha M akbarsha03

🎯
I just keep trying
View GitHub Profile
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: