1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
4
<LANGUAGE>eng</LANGUAGE>
6
<TYPE>Scilab Function</TYPE>
7
<DATE>April 1993</DATE>
8
<SHORT_DESCRIPTION name="xarc"> draw a part of an ellipse</SHORT_DESCRIPTION>
10
<CALLING_SEQUENCE_ITEM>xarc(x,y,w,h,a1,a2) </CALLING_SEQUENCE_ITEM>
15
<PARAM_NAME>x,y,w,h</PARAM_NAME>
17
<SP>: four real values defining a rectangle.</SP>
21
<PARAM_NAME>a1,a2</PARAM_NAME>
23
<SP>: real values defining a sector.</SP>
29
<P><VERB>xarc</VERB> draws a part of an ellipse contained in the rectangle
30
<VERB>(x,y,w,h)</VERB> (upper-left point, width, height), and in the sector
32
the angle <VERB>alpha1</VERB> and the angle <VERB>alpha1+alpha2</VERB>.
33
<VERB>alpha1</VERB> and <VERB>alpha2</VERB> are
34
given respectively by <VERB>a1/64</VERB> degrees and <VERB>a2/64</VERB> degrees.
35
This function uses the current graphics scale and color.</P>
40
plot2d(0,0,-1,"031"," ",[-2,-2,2,2])
42
xarc(-1,1,2,2,0,90*64)
43
xarc(-1.5,1.5,3,3,0,360*64)
57
<AUTHOR>J.Ph.C. </AUTHOR>