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

Methods

boxedType :: LayoutLine -> IO GType

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

Methods

new :: MonadIO m => (ForeignPtr LayoutLine -> LayoutLine) -> [AttrOp LayoutLine tag] -> m LayoutLine

((~) * 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 # 
HasAttributeList * LayoutLine Source # 
((~) * signature (Int32 -> m (Bool, Int32, Int32)), MonadIO m) => MethodInfo * LayoutLineXToIndexMethodInfo LayoutLine signature Source # 

Methods

overloadedMethod :: MethodProxy LayoutLineXToIndexMethodInfo LayoutLine -> signature -> s

((~) * signature (m ()), MonadIO m) => MethodInfo * LayoutLineUnrefMethodInfo LayoutLine signature Source # 

Methods

overloadedMethod :: MethodProxy LayoutLineUnrefMethodInfo LayoutLine -> signature -> s

((~) * signature (m LayoutLine), MonadIO m) => MethodInfo * LayoutLineRefMethodInfo LayoutLine signature Source # 

Methods

overloadedMethod :: MethodProxy LayoutLineRefMethodInfo LayoutLine -> signature -> s

((~) * signature (Int32 -> Bool -> m Int32), MonadIO m) => MethodInfo * LayoutLineIndexToXMethodInfo LayoutLine signature Source # 

Methods

overloadedMethod :: MethodProxy LayoutLineIndexToXMethodInfo LayoutLine -> signature -> s

((~) * signature (Int32 -> Int32 -> m [Int32]), MonadIO m) => MethodInfo * LayoutLineGetXRangesMethodInfo LayoutLine signature Source # 

Methods

overloadedMethod :: MethodProxy LayoutLineGetXRangesMethodInfo LayoutLine -> signature -> s

((~) * signature (m (Rectangle, Rectangle)), MonadIO m) => MethodInfo * LayoutLineGetPixelExtentsMethodInfo LayoutLine signature Source # 

Methods

overloadedMethod :: MethodProxy LayoutLineGetPixelExtentsMethodInfo LayoutLine -> signature -> s

((~) * signature (m (Rectangle, Rectangle)), MonadIO m) => MethodInfo * LayoutLineGetExtentsMethodInfo LayoutLine signature Source # 

Methods

overloadedMethod :: MethodProxy LayoutLineGetExtentsMethodInfo LayoutLine -> signature -> s

type AttributeList LayoutLine Source # 
type AttributeList LayoutLine

newZeroLayoutLine :: MonadIO m => m LayoutLine Source #

Construct a LayoutLine struct initialized to zero.

Methods

layoutLineGetExtents

data LayoutLineGetExtentsMethodInfo Source #

Instances

((~) * signature (m (Rectangle, Rectangle)), MonadIO m) => MethodInfo * LayoutLineGetExtentsMethodInfo LayoutLine signature Source # 

Methods

overloadedMethod :: MethodProxy LayoutLineGetExtentsMethodInfo LayoutLine -> signature -> s

layoutLineGetPixelExtents

layoutLineGetXRanges

data LayoutLineGetXRangesMethodInfo Source #

Instances

((~) * signature (Int32 -> Int32 -> m [Int32]), MonadIO m) => MethodInfo * LayoutLineGetXRangesMethodInfo LayoutLine signature Source # 

Methods

overloadedMethod :: MethodProxy LayoutLineGetXRangesMethodInfo LayoutLine -> signature -> s

layoutLineIndexToX

data LayoutLineIndexToXMethodInfo Source #

Instances

((~) * signature (Int32 -> Bool -> m Int32), MonadIO m) => MethodInfo * LayoutLineIndexToXMethodInfo LayoutLine signature Source # 

Methods

overloadedMethod :: MethodProxy LayoutLineIndexToXMethodInfo LayoutLine -> signature -> s

layoutLineRef

data LayoutLineRefMethodInfo Source #

Instances

((~) * signature (m LayoutLine), MonadIO m) => MethodInfo * LayoutLineRefMethodInfo LayoutLine signature Source # 

Methods

overloadedMethod :: MethodProxy LayoutLineRefMethodInfo LayoutLine -> signature -> s

layoutLineUnref

data LayoutLineUnrefMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m) => MethodInfo * LayoutLineUnrefMethodInfo LayoutLine signature Source # 

Methods

overloadedMethod :: MethodProxy LayoutLineUnrefMethodInfo LayoutLine -> signature -> s

layoutLineXToIndex

data LayoutLineXToIndexMethodInfo Source #

Instances

((~) * signature (Int32 -> m (Bool, Int32, Int32)), MonadIO m) => MethodInfo * LayoutLineXToIndexMethodInfo LayoutLine signature Source # 

Methods

overloadedMethod :: MethodProxy LayoutLineXToIndexMethodInfo LayoutLine -> signature -> s

Properties

IsParagraphStart

layoutLineIsParagraphStart :: AttrLabelProxy "isParagraphStart" Source #

Layout

layoutLineLayout :: AttrLabelProxy "layout" Source #

Length

layoutLineLength :: AttrLabelProxy "length" Source #

ResolvedDir

layoutLineResolvedDir :: AttrLabelProxy "resolvedDir" Source #

Runs

layoutLineRuns :: AttrLabelProxy "runs" Source #

setLayoutLineRuns :: MonadIO m => LayoutLine -> Ptr (GSList (Ptr ())) -> m () Source #

StartIndex

layoutLineStartIndex :: AttrLabelProxy "startIndex" Source #