Next Previous Up Top Contents Index

2 GP Reference Entries

draw-ellipse

Function

Summary

Draws an ellipse.
Signature

draw-ellipse port x y x-radius y-radius &rest args &key filled =>

Arguments

port

A graphics port.

x

A real number.

y

A real number.

x-radius

A real number.

y-radius

A real number.

radius

A real number.

args

General graphics port drawing arguments.

filled

A boolean.

Description

Thedraw-ellipse function draws an ellipse of the given radii centered on (x y). The transform, foreground, background, operation, thickness, scale-thickness, and mask from the port's graphics state are all used. When filled is non-nil, the ellipse is filled with the foreground color.
Examples

(gp:draw-ellipse port 100 100 20 40)

(gp:draw-ellipse port 100 100 50 10 :filled t :foreground :green)


LispWorks CAPI Reference Manual - 17 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker