ARC
ARC [STEP] x,y,r,astart,aend [,aspect [,color]] [COLOR color]
Draws an arc:
[x, y]
: center pointr
: radius in pixelastart
,aend
: first anf last angle in radiansaspect
: aspect ratiocolor
: line color
If STEP is used x
and y
are a step from the
last position of the graphics cursor.
Example 1
100
x = 100
y = 50
r = 0
astart = rad(90)
aend =
ARC x, y, r, astart, aend
Example 2: Using STEP
50
x = 50
y = 50
r = 0
astart = rad(90)
aend =
pset(100,100) ' Draw point at 100,100 and set the graphics cursor to 100,100
ARC STEP x, y, r, astart, aend ' make a step from 100,100 by 50 pixels in x and 50 pixels in y
Code samples using ARC
003 conditional branching.bas
3d_palmx.bas
anball 1.0.bas
another look at trig functions.bas
arc_ui.bas
biorythms.bas
blackbox.bas
Blackbox.bas
Calendar.bas
calendar.bas
chart.bas
Charts.bas
checkers.bas
checkers.bas
chess.bas
chess.bas
circ.bas
crow.bas
demanda.bas
dogstar5.bas
duckduckgo.bas
Easter_Butcher.bas
easter_butcher.bas
Easter_Carter.bas
easter_carter.bas
easter_mallen.bas
Easter_Oudin.bas
easter_oudin.bas
ellipse arc length estimate.bas
Graphics
ARC
CHART
CIRCLE
COLOR
DRAW
DRAWPOLY
IMAGE
LINE
PAINT
PEN
PLOT
POINT
PSET
RECT
RGB
RGBF
SHOWPAGE
TEXTHEIGHT
TEXTWIDTH
TXTH
TXTW
VIEW
WINDOW
XMAX
XPOS
YMAX
YPOS
If there is insufficient information on this page and you wish learn more about ARC,
please send an email to smallbasic@gmail.com. You can help to improve information about
ARC by submitting a pull request,
click View Source for details. Note, an offline language reference text file is also available - see the Download section.