Returns the width of a character in pixels.
graphics-ports
get-char-width port character font => width
| port⇩ |
A CAPI pane. |
| character⇩ |
A character. |
| font⇩ |
A font. |
| width |
An integer. |
The function get-char-width returns the width in pixels of character in font.
CAPI User Guide and Reference Manual (Windows version) - 18 Feb 2025 15:35:52