draws a filled ellipse or circle
INCLUDE 'graphlib.h' filledellipse(graphwin, style, 10,10,20,20)
filledellipse(Handle, Style, X1, Y1, X2, Y2) (i,i,i,i,i,i)
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
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 '
'. Note that the figure will only displayed after the metafile has been closed with enddraw .
makegraphwin(Handle,100,100,"Graphic Demo"), filledellipse(Handle, Style,10,10,90,90), enddraw(Handle), ... removewindow(Handle,1),!.
No runtime errors.
prolog-process, client-server, object
makegraphwin , filledpolygon , enddraw