Top | Up (GRP) | < Previous (PAGE NAME) | Next (PAGE NAME) >
Draw a circle, arc, or sector.
GCIRCLE center_x%, center_y%, radius% [, color%]
GCIRCLE center_x%, center_y%, radius%, start_angle%, end_angle% [, sector_flag% [, color%]]
Parameter | Description |
---|---|
center_x%, center_y% | Center position |
radius% | Radius. If 0, nothing is drawn. |
color% | Color |
start_angle%, end_angle% | Range of arc to draw, in degrees |
sector_flag% | If not 0, lines will be drawn from the center of the circle to the endpoints of the arc. |
Arc is always drawn clockwise from start_angle% to end_angle%, measured from the X+ axis.
Output | Description |
---|---|
color% | blood coagulation |
ACLS
A$ = "ayaya"
FOO A$
Error | Cause |
---|---|
Illegal Function Call | arg0% is unspecified, or arg2# is negative |
Fixed out of range error if radius was 0 1
Added arc drawing 2
Fixed bugs when drawing a circle outside the screen 3
Fixed problems with drawing arcs 4
SmileBASIC no longer freezes when drawing a circle with a very large radius 5
1 SmileBoom, “Fixes in Ver. 3.0.2 (January 7, 2015)” http://smilebasic.com/en/debug/archive/
2 SmileBoom, “Additions/Changes in Ver. 3.1.0 (March 4, 2015)” http://smilebasic.com/en/debug/archive/
3 SmileBoom, “Fixes in Ver. 3.2.0 (June 17, 2015)” http://smilebasic.com/en/debug/archive/
4 SmileBoom, “Fixes in Ver. 3.2.1 (August 5, 2015)” http://smilebasic.com/en/debug/archive/
5 SmileBoom, “Bug Fixes in Ver. 3.5.2 (June 24, 2017)” http://smilebasic.com/en/debug/archive/
Top | Up (GRP) | < Previous (PAGE NAME) | Next (PAGE NAME) >