gi-pango-0.1.38.15: Pango bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Pango.Structs.FontMetrics

Contents

Description

A #PangoFontMetrics structure holds the overall metric information for a font (possibly restricted to a script). The fields of this structure are private to implementations of a font backend. See the documentation of the corresponding getters for documentation of their meaning.

Synopsis

Exported types

newtype FontMetrics Source

Instances

newZeroFontMetrics :: MonadIO m => m FontMetrics Source

Construct a FontMetrics struct initialized to zero.

Methods

fontMetricsGetApproximateCharWidth

fontMetricsGetApproximateDigitWidth

fontMetricsGetAscent

fontMetricsGetDescent

fontMetricsGetStrikethroughPosition

fontMetricsGetStrikethroughThickness

fontMetricsGetUnderlinePosition

fontMetricsGetUnderlineThickness

fontMetricsNew

fontMetricsRef

fontMetricsUnref

data FontMetricsUnrefMethodInfo Source

Instances

((~) * signature (m ()), MonadIO m) => MethodInfo * FontMetricsUnrefMethodInfo FontMetrics signature