DRAWS A CIRCLE OF CENTER (X,Y) AND OF RADIUS R
ACTION
The command 2D_CIRCLE X,Y,R draws on the "2D target" system object (set by 2D_TARGET_IS), a circle of center (X,Y) and of radius R.
X, Y and R are expressed in pixels and the origin (0,0) of the coordinates is the upper left corner of the system object.
The line takes the drawing color set by 2D_PEN_COLOR, the drawing width set by 2D_PEN_WIDTH, and the circle is filled with the fill color set by 2D_FILL_COLOR.
By default, the drawing color is black, the drawing width is 1 pixel, and the filling color is the background color and the "2D target" system object is : FORM number 0.
SYNTAX:
2D_CIRCLE X,Y,R
USE ERROR EXAMPLE
rem draw a circle: center (100,100), radius = 50 pixels
2d_circle 100,100,50
2D_CIRCLE
2D_CIRCLE X,Y,R
SEE ALSO
2D_ARC
2D_RECTANGLE
2D_ELLIPSE
2D_LINE
2D_POLY_FROM
2D_POLY_TO
2D_PEN_COLOR
2D_PEN_DASH
2D_PEN_DASH_DOT
2D_PEN_DASH_DOT_DOT
2D_PEN_DOT
2D_PEN_SOLID
2D_PEN_WIDTH
2D_FILL_COLOR
2D_FILL_CROSS
2D_FILL_DIAGONAL_CROSS
2D_FILL_DIAGONAL_DOWN
2D_FILL_DIAGONAL_UP
2D_FILL_HORIZONTAL
2D_FILL_SOLID
2D_FILL_VERTICAL