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 |
|
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 |
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. |