58 lines
2.1 KiB
HTML
58 lines
2.1 KiB
HTML
<HTML>
|
|
<HEAD><TITLE>QuickBASIC 3.0 - Long Entry</TITLE></HEAD>
|
|
<BODY>
|
|
|
|
<A HREF="ng75f2.html">[<<Previous Entry]</A>
|
|
<A HREF="ng320.html">[^^Up^^]</A>
|
|
<A HREF="ng7c2f.html">[Next Entry>>]</A>
|
|
<A HREF="menu.html" >[Menu]</A>
|
|
<A HREF="info.html">[About The Guide]</A>
|
|
<HR>
|
|
<PRE>
|
|
<B>CIRCLE Draw Ellipse on Screen</B>
|
|
|
|
<B>CIRCLE</B> [STEP] (<U>x</U>,<U>y</U>), <U>radius</U> [,[<U>color</U>] [,[<U>start</U>],[<U>end</U>][,<U>aspect</U>]]]
|
|
|
|
Draws an ellipse on the screen.
|
|
|
|
STEP If included, coordinates are relative to last graphics
|
|
point referenced (LPR). If omitted, coordinates are
|
|
absolute.
|
|
|
|
<U>x</U>,<U>y</U> The center (column, row) of the ellipse in pixels.
|
|
|
|
<U>r</U><U>adius</U> Length, in pixels, of the major axis (the radius, in the
|
|
case of a circle).
|
|
|
|
<U>color</U> Color in which the ellipse is drawn. Defaults to 3 in
|
|
medium resolution, 1 in high resolution.
|
|
|
|
<U>start</U> Starting angle of arc, in radians. Defaults to 0.
|
|
|
|
<U>end</U> Ending angle of arc, in radians. Defaults to 2..
|
|
|
|
<U>aspect</U> Ratio, in pixels, of the x radius to the y radius.
|
|
Defaults to 5/6 in medium resolution, 5/12 in high
|
|
resolution; these values generate a circle on the CGA.
|
|
|
|
--------------------------------------------------------------------------
|
|
|
|
<B>Notes:</B> Omitting <U>start</U> and <U>end</U> will draw a complete circle.
|
|
|
|
If negative values for <U>start</U> and <U>end</U> are given, the end
|
|
points of the resulting arc are connected to the center
|
|
point, thus creating pie-chart wedges.
|
|
|
|
After a CIRCLE statement has been executed, the "last
|
|
point referenced" (LPR) is the center of the ellipse.
|
|
</PRE>
|
|
<HR>
|
|
<B>See Also:</B>
|
|
<A HREF="ng17bbd.html">LINE</A>
|
|
<HR>
|
|
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
|
|
Written by <A HREF="http://www.acemake.com/hagbard">Dave Pearson</A>
|
|
<HR>
|
|
</BODY>
|
|
</HTML>
|