Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Current drawing state.
Since: 4.0.0
Synopsis
- newtype DrawStateT = DrawStateT (ManagedPtr DrawStateT)
- newZeroDrawStateT :: MonadIO m => m DrawStateT
- getDrawStateTCurrentX :: MonadIO m => DrawStateT -> m Float
- setDrawStateTCurrentX :: MonadIO m => DrawStateT -> Float -> m ()
- getDrawStateTCurrentY :: MonadIO m => DrawStateT -> m Float
- setDrawStateTCurrentY :: MonadIO m => DrawStateT -> Float -> m ()
- getDrawStateTPathOpen :: MonadIO m => DrawStateT -> m Int32
- setDrawStateTPathOpen :: MonadIO m => DrawStateT -> Int32 -> m ()
- getDrawStateTPathStartX :: MonadIO m => DrawStateT -> m Float
- setDrawStateTPathStartX :: MonadIO m => DrawStateT -> Float -> m ()
- getDrawStateTPathStartY :: MonadIO m => DrawStateT -> m Float
- setDrawStateTPathStartY :: MonadIO m => DrawStateT -> Float -> m ()
Exported types
newtype DrawStateT Source #
Memory-managed wrapper type.
DrawStateT (ManagedPtr DrawStateT) |
Instances
Eq DrawStateT Source # | |
Defined in GI.HarfBuzz.Structs.DrawStateT (==) :: DrawStateT -> DrawStateT -> Bool # (/=) :: DrawStateT -> DrawStateT -> Bool # | |
BoxedPtr DrawStateT Source # | |
Defined in GI.HarfBuzz.Structs.DrawStateT boxedPtrCopy :: DrawStateT -> IO DrawStateT boxedPtrFree :: DrawStateT -> IO () | |
CallocPtr DrawStateT Source # | |
Defined in GI.HarfBuzz.Structs.DrawStateT boxedPtrCalloc :: IO (Ptr DrawStateT) | |
ManagedPtrNewtype DrawStateT Source # | |
Defined in GI.HarfBuzz.Structs.DrawStateT toManagedPtr :: DrawStateT -> ManagedPtr DrawStateT | |
tag ~ 'AttrSet => Constructible DrawStateT tag Source # | |
Defined in GI.HarfBuzz.Structs.DrawStateT new :: MonadIO m => (ManagedPtr DrawStateT -> DrawStateT) -> [AttrOp DrawStateT tag] -> m DrawStateT |
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 ]