•  Back 
  •  Main 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The GFA-Basic Compendium
Author      : GFA Systemtechnik GmbH
Version     : GFABasic.HYP v2.98 (12/31/2023)
Subject     : Documentation/Programming
Nodes       : 899
Index Size  : 28056
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Document not found
@help       : Help
@options    : +g -i -s +z
@width      : 75
@hostname   : STRNGSRV
@hostname   : CAB     
@hostname   : HIGHWIRE
@hostname   : THING   
View Ref-FileCIRCLE x,y,r[,w1,w2]
PCIRCLE x,y,r[,w1,w2]
ELLIPSE x,y,rx,ry[,w1,w2]
PELLIPSE x,y,rx,ry[,w1,w2]

x, y, r, rx, ry, w1, w2: iexp

CIRCLE draws a circle with center coordinates x,y and radius r. Additional
starting and ending angles w1 and w2 can be specified to draw a circular arc.
Similarly, PCIRCLE draws a filled circle or filled circular arc.

ELLIPSE draws an ellipse with the center coordinates x,y and horizontal radius
rx and vertical radius ry. Optional starting and ending angles w1 and w2 can be
specified to draw an elliptical arc. Similarly, PELLIPSE draws a filled ellipse
or a filled elliptical arc. The angles should be specified in 1/10 degress
(0-3600) and are measured in an anti-clockwise direction with zero pointing to
the right. See notation below.

         900
          |
    1800-angle-0
          |
         2700

Example:

    CIRCLE 320,200,100
    ELLIPSE 320,200,200,100,900,1800
    PCIRCLE 320,200,100,1800,2700
    PELLIPSE 320,200,200,100,2700,3600

--> A circle is drawn along with 3 more arc segments.

v_arc()+, v_circle()+, v_ellarc()+, v_ellipse()+, v_ellpie()+, v_pieslice()+