[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CIRCLE                   Draw Ellipse on Screen

 CIRCLE [STEP] (x,y), radius [,[color] [,[start],[end][,aspect]]]

    Draws an ellipse on the screen.

        STEP    If included, coordinates are relative to last graphics
                point referenced (LPR). If omitted, coordinates are
                absolute.

         x,y    The center (column, row) of the ellipse in pixels.

      radius    Length, in pixels, of the major axis (the radius, in the
                case of a circle).

       color    Color in which the ellipse is drawn. Defaults to 3 in
                medium resolution, 1 in high resolution.

       start    Starting angle of arc, in radians. Defaults to 0.

         end    Ending angle of arc, in radians. Defaults to 2..

      aspect    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.

   --------------------------------------------------------------------------

      Notes:    Omitting start and end will draw a complete circle.

                If negative values for start and end 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.

See Also: LINE
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson