gi-pango-1.0.21: Pango bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.Pango.Structs.Analysis

Contents

Description

The Analysis structure stores information about the properties of a segment of text.

Synopsis

Exported types

newtype Analysis Source #

Memory-managed wrapper type.

Constructors

Analysis (ManagedPtr Analysis) 

newZeroAnalysis :: MonadIO m => m Analysis Source #

Construct a Analysis struct initialized to zero.

noAnalysis :: Maybe Analysis Source #

A convenience alias for Nothing :: Maybe Analysis.

Properties

extraAttrs

extra attributes for this segment.

clearAnalysisExtraAttrs :: MonadIO m => Analysis -> m () Source #

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

clear #extraAttrs

getAnalysisExtraAttrs :: MonadIO m => Analysis -> m [Ptr ()] Source #

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

get analysis #extraAttrs

setAnalysisExtraAttrs :: MonadIO m => Analysis -> Ptr (GSList (Ptr ())) -> m () Source #

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

set analysis [ #extraAttrs := value ]

flags

boolean flags for this segment (currently only one) (Since: 1.16).

getAnalysisFlags :: MonadIO m => Analysis -> m Word8 Source #

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

get analysis #flags

setAnalysisFlags :: MonadIO m => Analysis -> Word8 -> m () Source #

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

set analysis [ #flags := value ]

font

the font for this segment.

clearAnalysisFont :: MonadIO m => Analysis -> m () Source #

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

clear #font

getAnalysisFont :: MonadIO m => Analysis -> m (Maybe Font) Source #

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

get analysis #font

setAnalysisFont :: MonadIO m => Analysis -> Ptr Font -> m () Source #

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

set analysis [ #font := value ]

gravity

the glyph orientation for this segment (A Gravity).

getAnalysisGravity :: MonadIO m => Analysis -> m Word8 Source #

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

get analysis #gravity

setAnalysisGravity :: MonadIO m => Analysis -> Word8 -> m () Source #

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

set analysis [ #gravity := value ]

langEngine

the engine for doing rendering-system-independent processing.

clearAnalysisLangEngine :: MonadIO m => Analysis -> m () Source #

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

clear #langEngine

getAnalysisLangEngine :: MonadIO m => Analysis -> m (Maybe EngineLang) Source #

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

get analysis #langEngine

setAnalysisLangEngine :: MonadIO m => Analysis -> Ptr EngineLang -> m () Source #

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

set analysis [ #langEngine := value ]

language

the detected language for this segment.

clearAnalysisLanguage :: MonadIO m => Analysis -> m () Source #

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

clear #language

getAnalysisLanguage :: MonadIO m => Analysis -> m (Maybe Language) Source #

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

get analysis #language

setAnalysisLanguage :: MonadIO m => Analysis -> Ptr Language -> m () Source #

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

set analysis [ #language := value ]

level

the bidirectional level for this segment.

getAnalysisLevel :: MonadIO m => Analysis -> m Word8 Source #

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

get analysis #level

setAnalysisLevel :: MonadIO m => Analysis -> Word8 -> m () Source #

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

set analysis [ #level := value ]

script

the detected script for this segment (A Script) (Since: 1.18).

getAnalysisScript :: MonadIO m => Analysis -> m Word8 Source #

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

get analysis #script

setAnalysisScript :: MonadIO m => Analysis -> Word8 -> m () Source #

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

set analysis [ #script := value ]

shapeEngine

the engine for doing rendering-system-dependent processing.

clearAnalysisShapeEngine :: MonadIO m => Analysis -> m () Source #

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

clear #shapeEngine

getAnalysisShapeEngine :: MonadIO m => Analysis -> m (Maybe EngineShape) Source #

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

get analysis #shapeEngine

setAnalysisShapeEngine :: MonadIO m => Analysis -> Ptr EngineShape -> m () Source #

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

set analysis [ #shapeEngine := value ]