-
-
Notifications
You must be signed in to change notification settings - Fork 2
circle
Anobium edited this page Mar 1, 2022
·
1 revision
Circle:
Circle(XPixelPosition, YPixelPosition, Radius [ [,Optional LineColour] [,Optional Rounding] ] )
Explanation:
Draws a circle on a GLCD at XPixelPosition, YPixelPosition with a
specific Radius.
The constant GLCD_PROTECTOVERRUN can be added to prevent circles from
re-drawing at the screen edges. Ensure the GLCD_Width and
GLCD_HEIGHT constants are set correctly when using this additional
constant.
Example:
#include <glcd.h>
circle(10,10,10) ;upper left
circle(117,10,10) ;upper right
circle(63,31,10) ;center
circle(63,31,20) ;center
circle(10,53,10) ;lower left
circle(117,53,10) ;lower right