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

get-char-ascent Function

Summary

Returns the ascent of a character in pixels.

Package

graphics-ports

Signature

get-char-ascent port character font => ascent

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

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

font defaults to the font associated with port.


CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:33:02