•  Back 
  •  Libraries 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : Pure C Library Documentation
Author      : John Kormylo
Version     : LIB.HYP 1.0
Subject     : Documentation/Pure C Library
Nodes       : 1309
Index Size  : 32068
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : en
@default    : 
@help       : Help
@options    : +g -i -s +x +z -t4
@width      : 75
View Ref-File[ sector ]

#include <graphics.h>

void sector( int x, int y, int stangle, int endangle,
             int xradius, int yradius );

  <x> is the horizontal position for the center of the ellipse.
  <y> is the vertical position for the center of the ellipse.
  <stangle> is the starting angle in degrees.
  <endangle> is the ending angle in degrees.
  <xradius> is the horizontal radius.
  <yradius> is the vertical radius.


Function draws a filled elliptical arc counter-clockwise (increasing
angles) from <stangle> to <endangle>.

VDI: v_ellpie()

See also BGI Primitives, setfillstyle(), setfillpattern() and graphresult().