Creates a graphics port object that can be used for querying fonts and measuring text or images.
capi
create-dummy-graphics-port &optional screen => graphics-port
screen⇩ |
A value suitable as the argument to convert-to-screen. |
graphics-port⇩ |
A graphics port. |
The function create-dummy-graphics-port
creates a graphics port object that can be used for font queries, measuring text and images.
graphics-port is a graphics port object associated with screen. graphics-port is never visible on the screen, but can be used to query fonts, measure text and load images to obtain their width and height. Drawing functions are not supported.
CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:33:57