Next Previous Up Top Contents Index

2 GP Reference Entries

draw-arc

Function

Summary

Draws an arc.
Signature

draw-arc port x y width height start-angle sweep-angle &rest args &key filled =>

Arguments

port

A graphics port

x

A real number

y

A real number

width

A real number

height

A real number

start-angle

A real number

sweep-angle

A real number

filled

A boolean

args

General graphics port drawing arguments

Description

Thedraw-arc function draws an arc contained in the rectangle from (x y) to (x+width y+width) from start-angle to start-angle+sweep-angle. Both angles are specified in radians. Currently, arcs are parts of ellipses whose major and minor axes are parallel to the screen axes. If the port has rotation in its transform, the enclosing rectangle is modified to be the external enclosing orthogonal rectangle of the rotated rectangle. The start angle is rotated. The transform, foreground, background, operation, thickness, scale-thickness, stipple, pattern, mask-x, mask-y, and mask from the port's graphics state are all used. When filled is non-nil, a sector is drawn.

LispWorks CAPI Reference Manual - 17 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker