All Manuals > CAPI Reference Manual > 2 GP 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 get-character-ascent function returns the ascent in pixels of the character in the font associated with port , or the font given.


CAPI Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex