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 |
Pairs of glyph and color index.
Since: 2.1.0
Synopsis
- newtype OtColorLayerT = OtColorLayerT (ManagedPtr OtColorLayerT)
- newZeroOtColorLayerT :: MonadIO m => m OtColorLayerT
- getOtColorLayerTColorIndex :: MonadIO m => OtColorLayerT -> m Word32
- setOtColorLayerTColorIndex :: MonadIO m => OtColorLayerT -> Word32 -> m ()
- getOtColorLayerTGlyph :: MonadIO m => OtColorLayerT -> m Word32
- setOtColorLayerTGlyph :: MonadIO m => OtColorLayerT -> Word32 -> m ()
Exported types
newtype OtColorLayerT Source #
Memory-managed wrapper type.
Instances
Eq OtColorLayerT Source # | |
Defined in GI.HarfBuzz.Structs.OtColorLayerT (==) :: OtColorLayerT -> OtColorLayerT -> Bool # (/=) :: OtColorLayerT -> OtColorLayerT -> Bool # | |
BoxedPtr OtColorLayerT Source # | |
Defined in GI.HarfBuzz.Structs.OtColorLayerT boxedPtrCopy :: OtColorLayerT -> IO OtColorLayerT # boxedPtrFree :: OtColorLayerT -> IO () # | |
CallocPtr OtColorLayerT Source # | |
Defined in GI.HarfBuzz.Structs.OtColorLayerT boxedPtrCalloc :: IO (Ptr OtColorLayerT) # | |
ManagedPtrNewtype OtColorLayerT Source # | |
Defined in GI.HarfBuzz.Structs.OtColorLayerT | |
tag ~ 'AttrSet => Constructible OtColorLayerT tag Source # | |
Defined in GI.HarfBuzz.Structs.OtColorLayerT new :: MonadIO m => (ManagedPtr OtColorLayerT -> OtColorLayerT) -> [AttrOp OtColorLayerT tag] -> m OtColorLayerT # |
newZeroOtColorLayerT :: MonadIO m => m OtColorLayerT Source #
Construct a OtColorLayerT
struct initialized to zero.
Methods
Properties
colorIndex
the palette color index of the layer
getOtColorLayerTColorIndex :: MonadIO m => OtColorLayerT -> m Word32 Source #
Get the value of the “color_index
” field.
When overloading is enabled, this is equivalent to
get
otColorLayerT #colorIndex
setOtColorLayerTColorIndex :: MonadIO m => OtColorLayerT -> Word32 -> m () Source #
Set the value of the “color_index
” field.
When overloading is enabled, this is equivalent to
set
otColorLayerT [ #colorIndex:=
value ]
glyph
the glyph ID of the layer
getOtColorLayerTGlyph :: MonadIO m => OtColorLayerT -> m Word32 Source #
Get the value of the “glyph
” field.
When overloading is enabled, this is equivalent to
get
otColorLayerT #glyph
setOtColorLayerTGlyph :: MonadIO m => OtColorLayerT -> Word32 -> m () Source #
Set the value of the “glyph
” field.
When overloading is enabled, this is equivalent to
set
otColorLayerT [ #glyph:=
value ]