gi-pango-1.0.6: 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 #

Instances

BoxedObject GlyphString Source # 

Methods

boxedType :: GlyphString -> IO GType

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

Methods

new :: MonadIO m => (ForeignPtr 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

glyphStringCopy

data GlyphStringCopyMethodInfo Source #

Instances

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

Methods

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

glyphStringExtents

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

glyphStringExtentsRange

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

glyphStringFree

data GlyphStringFreeMethodInfo Source #

Instances

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

Methods

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

glyphStringGetLogicalWidths

data GlyphStringGetLogicalWidthsMethodInfo Source #

Instances

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

glyphStringGetWidth

data GlyphStringGetWidthMethodInfo Source #

Instances

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

Methods

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

glyphStringIndexToX

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

glyphStringNew

glyphStringSetSize

data GlyphStringSetSizeMethodInfo Source #

Instances

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

Methods

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

glyphStringXToIndex

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

glyphStringLogClusters :: AttrLabelProxy "logClusters" Source #

NumGlyphs

glyphStringNumGlyphs :: AttrLabelProxy "numGlyphs" Source #