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

NextPrevUpTopContentsIndex

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-character-ascent returns the ascent in pixels of the character in the font associated with port , or the font given.


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

NextPrevUpTopContentsIndex