| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
KB.Text.Shape.FFI.Handles
Synopsis
- intHandle :: Coercible h (Ptr a) => h -> Int
- newtype ShapeContext = ShapeContext (Ptr ShapeContext)
- newtype Font = Font (Ptr Font)
- sizeOfFontData :: Int
- newtype ShapeConfig = ShapeConfig (Ptr ShapeConfig)
- newtype GlyphConfig = GlyphConfig (Ptr GlyphConfig)
- newtype BreakState = BreakState (Ptr BreakState)
Documentation
newtype ShapeContext Source #
An opaque handle to the shaping context..
Constructors
| ShapeContext (Ptr ShapeContext) |
Instances
An opaque handle to the font data.
sizeOfFontData :: Int Source #
Amount of bytes needed to hold the font data structure
Usually you don't have to look inside, but may have to allocate one to get the Font handle.
newtype ShapeConfig Source #
Constructors
| ShapeConfig (Ptr ShapeConfig) |
Instances
newtype GlyphConfig Source #
Constructors
| GlyphConfig (Ptr GlyphConfig) |
Instances
newtype BreakState Source #
Constructors
| BreakState (Ptr BreakState) |