Next Prev Up

5.3 Copying Graphics Contexts

CLX provides functions to copy some or all attribute values from one graphics context to another. These functions are generally more efficient than using setf to copy gcontext attributes individually.


copy-gcontext source destination Function
     
source
The source gcontext .
destination
The destination gcontext.

Copies all the values of the attributes of the source graphics context into the destination graphics context. The source and destination graphics contexts must have the same root and depth.


copy-gcontext-components source destination &rest keys Function
     
source
The source gcontext .
destination
The destination gcontext.
keys
The remaining arguments are keywords, of type gcontext-key , which specify which attributes of the graphics context are to be copied.

Copies the values of the specified attributes of the source graphics context to the destination graphics context. The source and destination graphics contexts must have the same root and depth.


Next Prev Up
© 1988, 1989 Texas Instruments Incorporated
Conversion to HTML made by Gilbert Baumann.
Last build: Tue Dec 16 23:30:42 1997