Circle Functions

Microchip Graphics Library

Microchip Graphics Library
Circle Functions

This lists the Primitive level circle functions.

Functions
 
Name 
Description 
 
Arc 
Draws the octant arc of the beveled figure with the given centers, radii and octant mask. When octant = 0xFF and the following are true:
  1. xL = xR, yT = yB , r1 = 0 and r2 = z, a filled circle is drawn with a radius of z.
  2. radii have values (where r1 < r2), a full ring with thickness of (r2-r1) is drawn.
  3. xL != xR, yT != yB , r1 = 0 and r2 = 0 (where xR > xL and yB > yT) a rectangle is drawn. xL, yT specifies the left top corner and xR,... more 
 
This renders an arc with from startAngle to endAngle with the thickness of r2-r1. The function returns 1 when the arc is rendered successfuly and returns a 0 when it is not yet finished. The next call to the function will continue the rendering. 
 
Draws a beveled figure on the screen. When x1 = x2 and y1 = y2, a circular object is drawn. When x1 < x2 and y1 < y2 and rad (radius) = 0, a rectangular object is drawn. 
 
Draws a filled beveled figure on the screen. For a filled circular object x1 = x2 and y1 = y2. For a filled rectangular object radius = 0. 
Macros
Name 
Description 
This macro draws a circle with the given center and radius. 
This macro draws a filled circle. Uses the FillBevel() function. 
This macro sets the fill bevel type to be drawn. 
Links
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved