DrawEllipse(WriteableBitmap,Int32,Int32,Int32,Int32,Int32,Int32) Method
A Fast Bresenham Type Algorithm For Drawing Ellipses http://homepage.smc.edu/kennedy_john/belipse.pdf
x2 has to be greater than x1 and y2 has to be greater than y1.
Syntax
Parameters
- bmp
- The WriteableBitmap.
- x1
- The x-coordinate of the bounding rectangle's left side.
- y1
- The y-coordinate of the bounding rectangle's top side.
- x2
- The x-coordinate of the bounding rectangle's right side.
- y2
- The y-coordinate of the bounding rectangle's bottom side.
- color
- The color for the line.
- thickness
- The thickness for the line.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also