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

NextPrevUpTopContentsIndex

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 the font associated with port , or the font given.


CAPI User Guide and Reference Manual (Macintosh version) - 25 Feb 2015

NextPrevUpTopContentsIndex