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

Contents

Description

The #PangoLayoutLine structure represents one of the lines resulting from laying out a paragraph via PangoLayoutLine structures are obtained by calling pango_layout_get_line() and are only valid until the text, attributes, or settings of the parent #PangoLayout are modified.

Routines for rendering PangoLayout objects are provided in code specific to each rendering system.

Synopsis

Exported types

newtype LayoutLine Source

Instances

BoxedObject LayoutLine Source 
((~) * info (ResolveLayoutLineMethod t LayoutLine), MethodInfo * info LayoutLine p) => IsLabel t (LayoutLine -> p) Source 

Methods

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

((~) * info (ResolveLayoutLineMethod t LayoutLine), MethodInfo * info LayoutLine p) => IsLabelProxy t (LayoutLine -> p) Source 
((~) (TYPE Lifted) signature (Int32 -> m (Bool, Int32, Int32)), MonadIO m) => MethodInfo (TYPE Lifted) LayoutLineXToIndexMethodInfo LayoutLine signature Source 
((~) (TYPE Lifted) signature (m ()), MonadIO m) => MethodInfo (TYPE Lifted) LayoutLineUnrefMethodInfo LayoutLine signature Source 
((~) (TYPE Lifted) signature (m LayoutLine), MonadIO m) => MethodInfo (TYPE Lifted) LayoutLineRefMethodInfo LayoutLine signature Source 
((~) (TYPE Lifted) signature (Int32 -> Bool -> m Int32), MonadIO m) => MethodInfo (TYPE Lifted) LayoutLineIndexToXMethodInfo LayoutLine signature Source 
((~) (TYPE Lifted) signature (Int32 -> Int32 -> m [Int32]), MonadIO m) => MethodInfo (TYPE Lifted) LayoutLineGetXRangesMethodInfo LayoutLine signature Source 
((~) (TYPE Lifted) signature (m (Rectangle, Rectangle)), MonadIO m) => MethodInfo (TYPE Lifted) LayoutLineGetPixelExtentsMethodInfo LayoutLine signature Source 
((~) (TYPE Lifted) signature (m (Rectangle, Rectangle)), MonadIO m) => MethodInfo (TYPE Lifted) LayoutLineGetExtentsMethodInfo LayoutLine signature Source 

newZeroLayoutLine :: MonadIO m => m LayoutLine Source

Construct a LayoutLine struct initialized to zero.

Methods

layoutLineGetExtents

layoutLineGetPixelExtents

layoutLineGetXRanges

layoutLineIndexToX

layoutLineRef

layoutLineUnref

layoutLineXToIndex

Properties

IsParagraphStart

Layout

Length

ResolvedDir

Runs

StartIndex