xarcs(2)

NAME
xarcs - drawing a set of ellipsis

CALLING SEQUENCE
[]=xarcs(arcs,[fill])

PARAMETERS

arcs
    : matrix of size (6,n) (ellipsis description)

fill
    : vector of size (1,n) (pattern id for filling the ellipsis) (default value=no filling)

DESCRIPTION
draws or fills a set of ellipsis described by arcs. arcs= [ x,y,w,h,a1,a2 ; x,y,w,h,a1,a2 ;.....] ' : each ellipsis is defined by the 6 parameters (x,y,w,h,a1,a2) (see xarc)

fill(i) gives the pattern id which must be used to fill the ellipsis number i. If fill(i)>= WID +1 the ellipsis is just drawn ( WID is the id of the white pattern which can be obtained with xget("white"). If fill is omitted the ellipsis are just drawn

EXAMPLE
plot2d(0,0,-1,"031",' ',[-1,-1,1,1])
set_arcs=[ -1.0 0.0 0.5 // upper left x
	    1.0 0.0 0.5 // upper left y
	    0.5 0.5 0.5 // widths
	    0.5 0.5 0.5 // height
	    0.0 0.0 0.0 // angle 1
	    360*64 360*64 360*64] // angle 2
xarcs(set_arcs,[1,2,3])

AUTHOR
J.Ph.C.