Next Previous Up Top Contents Index

1 CAPI Reference Entries

with-page-transform

Macro

Summary

Defines a rectangular region within the coordinate space of an output pane or printer port.
Syntax

with-page-transform x y width height &body body

Description

Thewith-page-transform macro evaluates x, y, width and height to define a rectangular region within the coordinate space of an output pane or printer port. Within body the region is mapped onto the printable area of the page. If the specified rectangle does not have the same aspect ratio as the printable area of the page, then non-isotropic scaling will occur.
Any number of calls towith-page-transform can occur during the printing of a page; for example, it is sometimes convenient to use a different page transform from that used to print the main body of the page when printing headers and footers.
See also

get-printer-metrics

LispWorks CAPI Reference Manual - 17 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker