gi-pango-0.1.38.13: 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 
((~) * 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 
((~) (TYPE Lifted) signature (Text -> Int32 -> Analysis -> Int32 -> m (Int32, Int32)), MonadIO m) => MethodInfo (TYPE Lifted) GlyphStringXToIndexMethodInfo GlyphString signature Source 
((~) (TYPE Lifted) signature (Int32 -> m ()), MonadIO m) => MethodInfo (TYPE Lifted) GlyphStringSetSizeMethodInfo GlyphString signature Source 
((~) (TYPE Lifted) signature (Text -> Int32 -> Analysis -> Int32 -> Bool -> m Int32), MonadIO m) => MethodInfo (TYPE Lifted) GlyphStringIndexToXMethodInfo GlyphString signature Source 
((~) (TYPE Lifted) signature (m Int32), MonadIO m) => MethodInfo (TYPE Lifted) GlyphStringGetWidthMethodInfo GlyphString signature Source 
((~) (TYPE Lifted) signature (Text -> Int32 -> Int32 -> Ptr Int32 -> m ()), MonadIO m) => MethodInfo (TYPE Lifted) GlyphStringGetLogicalWidthsMethodInfo GlyphString signature Source 
((~) (TYPE Lifted) signature (m ()), MonadIO m) => MethodInfo (TYPE Lifted) GlyphStringFreeMethodInfo GlyphString signature Source 
((~) (TYPE Lifted) signature (Int32 -> Int32 -> a -> m (Rectangle, Rectangle)), MonadIO m, FontK a) => MethodInfo (TYPE Lifted) GlyphStringExtentsRangeMethodInfo GlyphString signature Source 
((~) (TYPE Lifted) signature (a -> m (Rectangle, Rectangle)), MonadIO m, FontK a) => MethodInfo (TYPE Lifted) GlyphStringExtentsMethodInfo GlyphString signature Source 
((~) (TYPE Lifted) signature (m GlyphString), MonadIO m) => MethodInfo (TYPE Lifted) GlyphStringCopyMethodInfo GlyphString signature Source 

newZeroGlyphString :: MonadIO m => m GlyphString Source

Construct a GlyphString struct initialized to zero.

Methods

glyphStringCopy

glyphStringExtents

glyphStringExtentsRange

glyphStringFree

glyphStringGetLogicalWidths

glyphStringGetWidth

glyphStringIndexToX

glyphStringNew

glyphStringSetSize

glyphStringXToIndex

Properties

LogClusters

NumGlyphs