NextPrevUpTopContentsIndex

draw-image

Function
Summary

Displays an image on a graphics port at a given position.

Package

graphics-ports

Signature

draw-image port image to-x to-y &rest args &key from-x from-y
to-width to-height from-width from-height

Arguments

port

A graphics port.

image

An image.

to-x

A real number.

to-y

A real number.

from-x

A real number.

from-y

A real number.

to-width

A real number.

to-height

A real number.

from-width

A real number.

from-height

A real number.

args

General graphics port drawing arguments.

Description

The draw-image function displays image on the port at to-x to-y . Graphics state translation is guaranteed to be supported. The default value of from-x and from-y is 0. The width and height arguments default to the size of the image.

Support for scaling and rotation are library dependent. Specifically, scaling is supported in the Windows and Cocoa implementations, but not on X11/Motif.


LispWorks CAPI Reference Manual - 11 Apr 2005

NextPrevUpTopContentsIndex