gi-pango-1.0.10: 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.GlyphString

Contents

Description

The #PangoGlyphString structure is used to store strings of glyphs with geometry and visual attribute information. The storage for the glyph information is owned by the structure which simplifies memory management.

Synopsis

Exported types

newtype GlyphString Source #

Constructors

GlyphString (ManagedPtr GlyphString) 

Instances

BoxedObject GlyphString Source # 

Methods

boxedType :: GlyphString -> IO GType

(~) AttrOpTag tag AttrSet => Constructible GlyphString tag Source # 

Methods

new :: MonadIO m => (ManagedPtr GlyphString -> GlyphString) -> [AttrOp GlyphString tag] -> m GlyphString

((~) * info (ResolveGlyphStringMethod t GlyphString), MethodInfo * info GlyphString p) => IsLabel t (GlyphString -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> GlyphString -> p #

((~) * info (ResolveGlyphStringMethod t GlyphString), MethodInfo * info GlyphString p) => IsLabelProxy t (GlyphString -> p) Source # 
HasAttributeList * GlyphString Source # 
((~) * signature (Text -> Int32 -> Analysis -> Int32 -> m (Int32, Int32)), MonadIO m) => MethodInfo * GlyphStringXToIndexMethodInfo GlyphString signature Source # 

Methods

overloadedMethod :: MethodProxy GlyphStringXToIndexMethodInfo GlyphString -> signature -> s

((~) * signature (Int32 -> m ()), MonadIO m) => MethodInfo * GlyphStringSetSizeMethodInfo GlyphString signature Source # 

Methods

overloadedMethod :: MethodProxy GlyphStringSetSizeMethodInfo GlyphString -> signature -> s

((~) * signature (Text -> Int32 -> Analysis -> Int32 -> Bool -> m Int32), MonadIO m) => MethodInfo * GlyphStringIndexToXMethodInfo GlyphString signature Source # 

Methods

overloadedMethod :: MethodProxy GlyphStringIndexToXMethodInfo GlyphString -> signature -> s

((~) * signature (m Int32), MonadIO m) => MethodInfo * GlyphStringGetWidthMethodInfo GlyphString signature Source # 

Methods

overloadedMethod :: MethodProxy GlyphStringGetWidthMethodInfo GlyphString -> signature -> s

((~) * signature (Text -> Int32 -> Int32 -> Ptr Int32 -> m ()), MonadIO m) => MethodInfo * GlyphStringGetLogicalWidthsMethodInfo GlyphString signature Source # 
((~) * signature (m ()), MonadIO m) => MethodInfo * GlyphStringFreeMethodInfo GlyphString signature Source # 

Methods

overloadedMethod :: MethodProxy GlyphStringFreeMethodInfo GlyphString -> signature -> s

((~) * signature (Int32 -> Int32 -> a -> m (Rectangle, Rectangle)), MonadIO m, IsFont a) => MethodInfo * GlyphStringExtentsRangeMethodInfo GlyphString signature Source # 

Methods

overloadedMethod :: MethodProxy GlyphStringExtentsRangeMethodInfo GlyphString -> signature -> s

((~) * signature (a -> m (Rectangle, Rectangle)), MonadIO m, IsFont a) => MethodInfo * GlyphStringExtentsMethodInfo GlyphString signature Source # 

Methods

overloadedMethod :: MethodProxy GlyphStringExtentsMethodInfo GlyphString -> signature -> s

((~) * signature (m (Maybe GlyphString)), MonadIO m) => MethodInfo * GlyphStringCopyMethodInfo GlyphString signature Source # 

Methods

overloadedMethod :: MethodProxy GlyphStringCopyMethodInfo GlyphString -> signature -> s

type AttributeList GlyphString Source # 
type AttributeList GlyphString

newZeroGlyphString :: MonadIO m => m GlyphString Source #

Construct a GlyphString struct initialized to zero.

Methods

copy

data GlyphStringCopyMethodInfo Source #

Instances

((~) * signature (m (Maybe GlyphString)), MonadIO m) => MethodInfo * GlyphStringCopyMethodInfo GlyphString signature Source # 

Methods

overloadedMethod :: MethodProxy GlyphStringCopyMethodInfo GlyphString -> signature -> s

extents

data GlyphStringExtentsMethodInfo Source #

Instances

((~) * signature (a -> m (Rectangle, Rectangle)), MonadIO m, IsFont a) => MethodInfo * GlyphStringExtentsMethodInfo GlyphString signature Source # 

Methods

overloadedMethod :: MethodProxy GlyphStringExtentsMethodInfo GlyphString -> signature -> s

extentsRange

data GlyphStringExtentsRangeMethodInfo Source #

Instances

((~) * signature (Int32 -> Int32 -> a -> m (Rectangle, Rectangle)), MonadIO m, IsFont a) => MethodInfo * GlyphStringExtentsRangeMethodInfo GlyphString signature Source # 

Methods

overloadedMethod :: MethodProxy GlyphStringExtentsRangeMethodInfo GlyphString -> signature -> s

free

data GlyphStringFreeMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m) => MethodInfo * GlyphStringFreeMethodInfo GlyphString signature Source # 

Methods

overloadedMethod :: MethodProxy GlyphStringFreeMethodInfo GlyphString -> signature -> s

getLogicalWidths

data GlyphStringGetLogicalWidthsMethodInfo Source #

Instances

((~) * signature (Text -> Int32 -> Int32 -> Ptr Int32 -> m ()), MonadIO m) => MethodInfo * GlyphStringGetLogicalWidthsMethodInfo GlyphString signature Source # 

getWidth

data GlyphStringGetWidthMethodInfo Source #

Instances

((~) * signature (m Int32), MonadIO m) => MethodInfo * GlyphStringGetWidthMethodInfo GlyphString signature Source # 

Methods

overloadedMethod :: MethodProxy GlyphStringGetWidthMethodInfo GlyphString -> signature -> s

indexToX

data GlyphStringIndexToXMethodInfo Source #

Instances

((~) * signature (Text -> Int32 -> Analysis -> Int32 -> Bool -> m Int32), MonadIO m) => MethodInfo * GlyphStringIndexToXMethodInfo GlyphString signature Source # 

Methods

overloadedMethod :: MethodProxy GlyphStringIndexToXMethodInfo GlyphString -> signature -> s

new

setSize

data GlyphStringSetSizeMethodInfo Source #

Instances

((~) * signature (Int32 -> m ()), MonadIO m) => MethodInfo * GlyphStringSetSizeMethodInfo GlyphString signature Source # 

Methods

overloadedMethod :: MethodProxy GlyphStringSetSizeMethodInfo GlyphString -> signature -> s

xToIndex

data GlyphStringXToIndexMethodInfo Source #

Instances

((~) * signature (Text -> Int32 -> Analysis -> Int32 -> m (Int32, Int32)), MonadIO m) => MethodInfo * GlyphStringXToIndexMethodInfo GlyphString signature Source # 

Methods

overloadedMethod :: MethodProxy GlyphStringXToIndexMethodInfo GlyphString -> signature -> s

Properties

logClusters

glyphString_logClusters :: AttrLabelProxy "logClusters" Source #

numGlyphs

glyphString_numGlyphs :: AttrLabelProxy "numGlyphs" Source #