gi-harfbuzz-0.0.5: HarfBuzz bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.HarfBuzz.Structs.FontExtentsT

Description

Font-wide extent values, measured in font units.

Note that typically ascender is positive and descender negative, in coordinate systems that grow up.

Synopsis

Exported types

newZeroFontExtentsT :: MonadIO m => m FontExtentsT Source #

Construct a FontExtentsT struct initialized to zero.

Methods

Properties

ascender

The height of typographic ascenders.

getFontExtentsTAscender :: MonadIO m => FontExtentsT -> m Int32 Source #

Get the value of the “ascender” field. When overloading is enabled, this is equivalent to

get fontExtentsT #ascender

setFontExtentsTAscender :: MonadIO m => FontExtentsT -> Int32 -> m () Source #

Set the value of the “ascender” field. When overloading is enabled, this is equivalent to

set fontExtentsT [ #ascender := value ]

descender

The depth of typographic descenders.

getFontExtentsTDescender :: MonadIO m => FontExtentsT -> m Int32 Source #

Get the value of the “descender” field. When overloading is enabled, this is equivalent to

get fontExtentsT #descender

setFontExtentsTDescender :: MonadIO m => FontExtentsT -> Int32 -> m () Source #

Set the value of the “descender” field. When overloading is enabled, this is equivalent to

set fontExtentsT [ #descender := value ]

lineGap

The suggested line-spacing gap.

getFontExtentsTLineGap :: MonadIO m => FontExtentsT -> m Int32 Source #

Get the value of the “line_gap” field. When overloading is enabled, this is equivalent to

get fontExtentsT #lineGap

setFontExtentsTLineGap :: MonadIO m => FontExtentsT -> Int32 -> m () Source #

Set the value of the “line_gap” field. When overloading is enabled, this is equivalent to

set fontExtentsT [ #lineGap := value ]