praeclarum / NGraphics

NGraphics is a cross platform library for rendering vector graphics on .NET. It provides a unified API for both immediate and retained mode graphics using high quality native renderers.
MIT License
710 stars 133 forks source link

Path.ArcTo does not work on Android #14

Closed Henkoglobin closed 9 years ago

Henkoglobin commented 9 years ago

On Android, Path.ArcTo just relays to LineTo, such that no arc will be drawn :(

The arguments for path.ArcTo can be computed as per this stackoverflow question: http://stackoverflow.com/questions/11131954/how-to-draw-arc-between-two-points-on-the-canvas

This article provides an even better overview: http://www.tbray.org/ongoing/When/200x/2009/01/02/Android-Draw-a-Curved-Line