filledellipse

BAP Online Manuals : Library Reference : Library by Name : filledellipse
Previous: filesize
Next: filledpolygon

6.2.54. filledellipse

draws a filled ellipse or circle

SYNOPSIS

INCLUDE 'graphlib.h'
filledellipse(graphwin, style, 10,10,20,20)

SYNTAX

filledellipse(Handle, Style, X1, Y1, X2, Y2) (i,i,i,i,i,i) 

ARGUMENTS

handle(Handle) (i) Virtual file handle associated with the window.
integer(Style) (i) Color or brush to till polygon with, constants as defined in graphlib.h
integer(X1,Y1,X2,Y2) Coordinates defining upper right and lower left corner of enclosing rectangle

DESCRIPTION

Filledellipse draws an ellipse into the 'metafile' for the graphics window associated with Handle. The coordinates X1,Y1,X2,Y2 describe the corners of an enclosing rectangle for the ellipse. Coordinates are 'vrtual coordinates' as defined in the magegraphwin predicate. The figure is filled with the color or brush defined by Style, possible values are defined as constants in '

graphlib.h

'. Note that the figure will only displayed after the metafile has been closed with enddraw .

EXAMPLE

makegraphwin(Handle,100,100,"Graphic Demo"),
filledellipse(Handle, Style,10,10,90,90),
enddraw(Handle),
...
removewindow(Handle,1),!.

ERRORS

No runtime errors.

LAYERS

prolog-process, client-server, object

RELATED PREDICATES

makegraphwin , filledpolygon , enddraw


BAP Online Manuals : Library Reference : Library by Name : filledellipse
Previous: filesize
Next: filledpolygon