I would like the ability in this library to draw arcs. Bresenham arc-drawing algorithms exist. See here:
http://en.wikipedia.org/wiki/Midpoint_circle_algorithm
By arc, I mean a partial circle -- something with constructors very similar to the ArcSegment class in WPF. See here:
http://msdn.microsoft.com/en-us/library/ms589437.aspx
Thanks for your time.
Comments: ** Comment from web user: vac **
http://en.wikipedia.org/wiki/Midpoint_circle_algorithm
By arc, I mean a partial circle -- something with constructors very similar to the ArcSegment class in WPF. See here:
http://msdn.microsoft.com/en-us/library/ms589437.aspx
Thanks for your time.
Comments: ** Comment from web user: vac **
I have also tried to draw arc with WritableBitmapExtension ( http://stackoverflow.com/questions/25392954/how-to-draw-an-arc-on-writablebitmap-writablebitmapex )
After analyzing code of mono libgdiplus I have ported two functions which are drawing arc using Bezier curve to c#.
I have attached result file.
It's using DrawBezier from WritableBitmapEx.
To draw an arc just use: .DrawArc(....);
ps. It would be nice to see it somewhere in WritableBitmapEx sources;