<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
<MAN>
  <LANGUAGE>eng</LANGUAGE>
  <TITLE>xarc</TITLE>
  <TYPE>Scilab Function</TYPE>
  <DATE>April 1993</DATE>
  <SHORT_DESCRIPTION name="xarc"> draw a part of an ellipse</SHORT_DESCRIPTION>
  <CALLING_SEQUENCE>
    <CALLING_SEQUENCE_ITEM>xarc(x,y,w,h,a1,a2)  </CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>
  <PARAM>
    <PARAM_INDENT>
      <PARAM_ITEM>
        <PARAM_NAME>x,y,w,h</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: four real values defining a rectangle.</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
      <PARAM_ITEM>
        <PARAM_NAME>a1,a2</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: real values defining a sector.</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
    </PARAM_INDENT>
  </PARAM>
  <DESCRIPTION>
    <P><VERB>xarc</VERB> draws a part of an ellipse contained in the rectangle 
    <VERB>(x,y,w,h)</VERB> (upper-left point, width, height), and in the sector 
    defined by 
    the angle <VERB>alpha1</VERB> and the angle <VERB>alpha1+alpha2</VERB>. 
    <VERB>alpha1</VERB> and <VERB>alpha2</VERB> are 
    given respectively by <VERB>a1/64</VERB> degrees and <VERB>a2/64</VERB> degrees.
    This function uses the current graphics scale and color.</P>
  </DESCRIPTION>
  <EXAMPLE>
<![CDATA[
// isoview scaling 
plot2d(0,0,-1,"031"," ",[-2,-2,2,2])
xset("color",3)
xarc(-1,1,2,2,0,90*64)
xarc(-1.5,1.5,3,3,0,360*64)
 ]]>
  </EXAMPLE>
  <SEE_ALSO>
    <SEE_ALSO_ITEM>
      <LINK>xarcs</LINK>
    </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM>
      <LINK>xfarc</LINK>
    </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM>
      <LINK>xfarcs</LINK>
    </SEE_ALSO_ITEM>
  </SEE_ALSO>
  <AUTHOR>J.Ph.C.  </AUTHOR>
</MAN>
