| 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 |
GI.HarfBuzz.Structs.OtColorLayerT
Description
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.
Constructors
| OtColorLayerT (ManagedPtr OtColorLayerT) |
Instances
| Eq OtColorLayerT Source # | |
Defined in GI.HarfBuzz.Structs.OtColorLayerT Methods (==) :: OtColorLayerT -> OtColorLayerT -> Bool # (/=) :: OtColorLayerT -> OtColorLayerT -> Bool # | |
| BoxedPtr OtColorLayerT Source # | |
Defined in GI.HarfBuzz.Structs.OtColorLayerT | |
| CallocPtr OtColorLayerT Source # | |
Defined in GI.HarfBuzz.Structs.OtColorLayerT Methods boxedPtrCalloc :: IO (Ptr OtColorLayerT) # | |
| ManagedPtrNewtype OtColorLayerT Source # | |
Defined in GI.HarfBuzz.Structs.OtColorLayerT Methods | |
| tag ~ 'AttrSet => Constructible OtColorLayerT tag Source # | |
Defined in GI.HarfBuzz.Structs.OtColorLayerT Methods 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
setotColorLayerT [ #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
setotColorLayerT [ #glyph:=value ]