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

Constructors

LayoutLine (ManagedPtr LayoutLine) 

Instances

BoxedObject LayoutLine Source # 

Methods

boxedType :: LayoutLine -> IO GType

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

Methods

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

getExtents

data LayoutLineGetExtentsMethodInfo Source #

Instances

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

Methods

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

getPixelExtents

getXRanges

data LayoutLineGetXRangesMethodInfo Source #

Instances

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

Methods

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

indexToX

data LayoutLineIndexToXMethodInfo Source #

Instances

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

Methods

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

ref

data LayoutLineRefMethodInfo Source #

Instances

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

Methods

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

unref

data LayoutLineUnrefMethodInfo Source #

Instances

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

Methods

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

xToIndex

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

layoutLine_isParagraphStart :: AttrLabelProxy "isParagraphStart" Source #

layout

layoutLine_layout :: AttrLabelProxy "layout" Source #

length

layoutLine_length :: AttrLabelProxy "length" Source #

resolvedDir

layoutLine_resolvedDir :: AttrLabelProxy "resolvedDir" Source #

runs

layoutLine_runs :: AttrLabelProxy "runs" Source #

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

startIndex

layoutLine_startIndex :: AttrLabelProxy "startIndex" Source #