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.GlyphExtentsT

Description

Glyph extent values, measured in font units.

Note that height is negative, in coordinate systems that grow up.

Synopsis

Exported types

newZeroGlyphExtentsT :: MonadIO m => m GlyphExtentsT Source #

Construct a GlyphExtentsT struct initialized to zero.

Methods

Properties

height

Distance from the top extremum of the glyph to the bottom extremum.

getGlyphExtentsTHeight :: MonadIO m => GlyphExtentsT -> m Int32 Source #

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

get glyphExtentsT #height

setGlyphExtentsTHeight :: MonadIO m => GlyphExtentsT -> Int32 -> m () Source #

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

set glyphExtentsT [ #height := value ]

width

Distance from the left extremum of the glyph to the right extremum.

getGlyphExtentsTWidth :: MonadIO m => GlyphExtentsT -> m Int32 Source #

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

get glyphExtentsT #width

setGlyphExtentsTWidth :: MonadIO m => GlyphExtentsT -> Int32 -> m () Source #

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

set glyphExtentsT [ #width := value ]

xBearing

Distance from the x-origin to the left extremum of the glyph.

getGlyphExtentsTXBearing :: MonadIO m => GlyphExtentsT -> m Int32 Source #

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

get glyphExtentsT #xBearing

setGlyphExtentsTXBearing :: MonadIO m => GlyphExtentsT -> Int32 -> m () Source #

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

set glyphExtentsT [ #xBearing := value ]

yBearing

Distance from the top extremum of the glyph to the y-origin.

getGlyphExtentsTYBearing :: MonadIO m => GlyphExtentsT -> m Int32 Source #

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

get glyphExtentsT #yBearing

setGlyphExtentsTYBearing :: MonadIO m => GlyphExtentsT -> Int32 -> m () Source #

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

set glyphExtentsT [ #yBearing := value ]