next node: WinImage,
prev node: WinEvent,
up to node: Subsystem Opal Windows


WinFontMetrics

Get a font's metrics and sizes of denotation printed in that font

Signature of WinFontMetrics

List of Import References :
See BOOL
See BTUnion
See Char
See Com
See DENOTATION
See Int
See Nat
See Option
See Real
See Seq
See Set
See String
See Void
See WinConfig
See WinInternal
See WinTclTk

SIGNATURE WinFontMetrics

$Date: 2011-01-04T14:44:45.667619Z $ ($Revision: 8623 $)

IMPORT Real      ONLY real:SORT
       WinConfig ONLY font:SORT
       Com       ONLY com:SORT

SORT metrics

Calculate metrics of a given font.

FUN fontMetrics : font -> com[metrics]

Give the space (width x height) a given denotation consumes on the screen based on the metrics of a given font

FUN dimensions : metrics -> denotation -> real ** real

Extract the depth from a font's metrics

FUN depth : metrics -> real

Extract the height from a font's metrics

FUN height : metrics -> real

Extract the lineskip from a font's metrics

FUN lineskip : metrics -> real


next node: WinImage,
prev node: WinEvent,
up to node: Subsystem Opal Windows