All Manuals > CAPI User Guide and Reference Manual > 22 GRAPHICS-PORTS Reference Entries

get-font-ascent Function

Summary

Returns the ascent of a font.

Package

graphics-ports

Signature

get-font-ascent port &optional font => ascent

Arguments
port
A CAPI pane.
font
A font.
Values
ascent
An integer.
Description

The function get-font-ascent returns the ascent in pixels of font.

font defaults to the font associated with port.


CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:34:15