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

NextPrevUpTopContentsIndex

get-char-width

Function
Summary

Returns the width of a character in pixels.

Package

graphics-ports

Signature

get-char-width port character font => width

Arguments

port

A CAPI pane.

character

A character.

font

A font.

Values

width

An integer.

Description

The function get-char-width returns the width in pixels of the character in the font associated with port , or the font given.


CAPI User Guide and Reference Manual (Windows version) - 3 Aug 2017

NextPrevUpTopContentsIndex