| 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.OtMathKernEntryT
Description
Data type to hold math kerning (cut-in) information for a glyph.
Since: 3.4.0
Synopsis
- newtype OtMathKernEntryT = OtMathKernEntryT (ManagedPtr OtMathKernEntryT)
- newZeroOtMathKernEntryT :: MonadIO m => m OtMathKernEntryT
- getOtMathKernEntryTKernValue :: MonadIO m => OtMathKernEntryT -> m Int32
- setOtMathKernEntryTKernValue :: MonadIO m => OtMathKernEntryT -> Int32 -> m ()
- getOtMathKernEntryTMaxCorrectionHeight :: MonadIO m => OtMathKernEntryT -> m Int32
- setOtMathKernEntryTMaxCorrectionHeight :: MonadIO m => OtMathKernEntryT -> Int32 -> m ()
Exported types
newtype OtMathKernEntryT Source #
Memory-managed wrapper type.
Constructors
| OtMathKernEntryT (ManagedPtr OtMathKernEntryT) |
Instances
| Eq OtMathKernEntryT Source # | |
Defined in GI.HarfBuzz.Structs.OtMathKernEntryT Methods (==) :: OtMathKernEntryT -> OtMathKernEntryT -> Bool # (/=) :: OtMathKernEntryT -> OtMathKernEntryT -> Bool # | |
| BoxedPtr OtMathKernEntryT Source # | |
Defined in GI.HarfBuzz.Structs.OtMathKernEntryT Methods boxedPtrCopy :: OtMathKernEntryT -> IO OtMathKernEntryT boxedPtrFree :: OtMathKernEntryT -> IO () | |
| CallocPtr OtMathKernEntryT Source # | |
Defined in GI.HarfBuzz.Structs.OtMathKernEntryT Methods | |
| ManagedPtrNewtype OtMathKernEntryT Source # | |
Defined in GI.HarfBuzz.Structs.OtMathKernEntryT Methods toManagedPtr :: OtMathKernEntryT -> ManagedPtr OtMathKernEntryT | |
| tag ~ 'AttrSet => Constructible OtMathKernEntryT tag Source # | |
Defined in GI.HarfBuzz.Structs.OtMathKernEntryT Methods new :: MonadIO m => (ManagedPtr OtMathKernEntryT -> OtMathKernEntryT) -> [AttrOp OtMathKernEntryT tag] -> m OtMathKernEntryT | |
newZeroOtMathKernEntryT :: MonadIO m => m OtMathKernEntryT Source #
Construct a OtMathKernEntryT struct initialized to zero.
Methods
Properties
kernValue
The kern value of the entry
getOtMathKernEntryTKernValue :: MonadIO m => OtMathKernEntryT -> m Int32 Source #
Get the value of the “kern_value” field.
When overloading is enabled, this is equivalent to
get otMathKernEntryT #kernValue
setOtMathKernEntryTKernValue :: MonadIO m => OtMathKernEntryT -> Int32 -> m () Source #
Set the value of the “kern_value” field.
When overloading is enabled, this is equivalent to
setotMathKernEntryT [ #kernValue:=value ]
maxCorrectionHeight
The maximum height at which this entry should be used
getOtMathKernEntryTMaxCorrectionHeight :: MonadIO m => OtMathKernEntryT -> m Int32 Source #
Get the value of the “max_correction_height” field.
When overloading is enabled, this is equivalent to
get otMathKernEntryT #maxCorrectionHeight
setOtMathKernEntryTMaxCorrectionHeight :: MonadIO m => OtMathKernEntryT -> Int32 -> m () Source #
Set the value of the “max_correction_height” field.
When overloading is enabled, this is equivalent to
setotMathKernEntryT [ #maxCorrectionHeight:=value ]