gi-harfbuzz-0.0.9: HarfBuzz bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.HarfBuzz.Structs.DrawStateT

Description

Current drawing state.

Since: 4.0.0

Synopsis

Exported types

newtype DrawStateT Source #

Memory-managed wrapper type.

Constructors

DrawStateT (ManagedPtr DrawStateT) 

Instances

Instances details
Eq DrawStateT Source # 
Instance details

Defined in GI.HarfBuzz.Structs.DrawStateT

GBoxed DrawStateT Source # 
Instance details

Defined in GI.HarfBuzz.Structs.DrawStateT

ManagedPtrNewtype DrawStateT Source # 
Instance details

Defined in GI.HarfBuzz.Structs.DrawStateT

Methods

toManagedPtr :: DrawStateT -> ManagedPtr DrawStateT

TypedObject DrawStateT Source # 
Instance details

Defined in GI.HarfBuzz.Structs.DrawStateT

Methods

glibType :: IO GType

HasParentTypes DrawStateT Source # 
Instance details

Defined in GI.HarfBuzz.Structs.DrawStateT

tag ~ 'AttrSet => Constructible DrawStateT tag Source # 
Instance details

Defined in GI.HarfBuzz.Structs.DrawStateT

Methods

new :: MonadIO m => (ManagedPtr DrawStateT -> DrawStateT) -> [AttrOp DrawStateT tag] -> m DrawStateT

IsGValue (Maybe DrawStateT) Source #

Convert DrawStateT to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.HarfBuzz.Structs.DrawStateT

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe DrawStateT -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe DrawStateT)

type ParentTypes DrawStateT Source # 
Instance details

Defined in GI.HarfBuzz.Structs.DrawStateT

type ParentTypes DrawStateT = '[] :: [Type]

newZeroDrawStateT :: MonadIO m => m DrawStateT Source #

Construct a DrawStateT struct initialized to zero.

Methods

Properties

currentX

X component of current point

getDrawStateTCurrentX :: MonadIO m => DrawStateT -> m Float Source #

Get the value of the “current_x” field. When overloading is enabled, this is equivalent to

get drawStateT #currentX

setDrawStateTCurrentX :: MonadIO m => DrawStateT -> Float -> m () Source #

Set the value of the “current_x” field. When overloading is enabled, this is equivalent to

set drawStateT [ #currentX := value ]

currentY

Y component of current point

getDrawStateTCurrentY :: MonadIO m => DrawStateT -> m Float Source #

Get the value of the “current_y” field. When overloading is enabled, this is equivalent to

get drawStateT #currentY

setDrawStateTCurrentY :: MonadIO m => DrawStateT -> Float -> m () Source #

Set the value of the “current_y” field. When overloading is enabled, this is equivalent to

set drawStateT [ #currentY := value ]

pathOpen

Whether there is an open path

getDrawStateTPathOpen :: MonadIO m => DrawStateT -> m Int32 Source #

Get the value of the “path_open” field. When overloading is enabled, this is equivalent to

get drawStateT #pathOpen

setDrawStateTPathOpen :: MonadIO m => DrawStateT -> Int32 -> m () Source #

Set the value of the “path_open” field. When overloading is enabled, this is equivalent to

set drawStateT [ #pathOpen := value ]

pathStartX

X component of the start of current path

getDrawStateTPathStartX :: MonadIO m => DrawStateT -> m Float Source #

Get the value of the “path_start_x” field. When overloading is enabled, this is equivalent to

get drawStateT #pathStartX

setDrawStateTPathStartX :: MonadIO m => DrawStateT -> Float -> m () Source #

Set the value of the “path_start_x” field. When overloading is enabled, this is equivalent to

set drawStateT [ #pathStartX := value ]

pathStartY

Y component of the start of current path

getDrawStateTPathStartY :: MonadIO m => DrawStateT -> m Float Source #

Get the value of the “path_start_y” field. When overloading is enabled, this is equivalent to

get drawStateT #pathStartY

setDrawStateTPathStartY :: MonadIO m => DrawStateT -> Float -> m () Source #

Set the value of the “path_start_y” field. When overloading is enabled, this is equivalent to

set drawStateT [ #pathStartY := value ]