WinAPI : AngleArc Function
After Line let’s see how we draw arcs. AngleArc allows you to draw a circular arc. The arc that’s drawn is actually a part of the circle of given radius, with start angle and angle of sweep determining the start and end points of the arc. The first parameter that it takes is the handle to the device context. The next two parameters specify the X and Y co-ordinates of the center of the circle. Fourth parameter is the radius of the circle. The next two parameters are the start angle, with reference to the X-axis and the sweep angle in anti-clockwise direction.
(more…)
