| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
FreeType.Support.Bitmap
Contents
Description
Please refer to the Support API > Bitmap Handling chapter of the reference.
Internal: FreeType.Support.Bitmap.Internal.
Synopsis
- ft_Bitmap_Init :: IO (Ptr FT_Bitmap)
- ft_Bitmap_With :: FT_Library -> (Ptr FT_Bitmap -> IO a) -> IO a
- ft_Bitmap_Copy :: FT_Library -> Ptr FT_Bitmap -> Ptr FT_Bitmap -> IO ()
- ft_Bitmap_Embolden :: FT_Library -> Ptr FT_Bitmap -> FT_Pos -> FT_Pos -> IO ()
- ft_Bitmap_Convert :: FT_Library -> Ptr FT_Bitmap -> Ptr FT_Bitmap -> FT_Int -> IO ()
- ft_Bitmap_Blend :: FT_Library -> Ptr FT_Bitmap -> FT_Vector -> Ptr FT_Bitmap -> FT_Vector -> FT_Color -> IO FT_Vector
- ft_GlyphSlot_Own_Bitmap :: FT_GlyphSlot -> IO ()
- ft_Bitmap_Done :: FT_Library -> Ptr FT_Bitmap -> IO ()
FT_Bitmap_Init
Arguments
| :: FT_Library | library |
| -> (Ptr FT_Bitmap -> IO a) | |
| -> IO a |
bracket over ft_Outline_Init and ft_Bitmap_Done.
The provided Ptr FT_Bitmap should not be used after this function terminates.
FT_Bitmap_Copy
FT_Bitmap_Embolden
FT_Bitmap_Convert
FT_Bitmap_Blend
FT_GlyphSlot_Own_Bitmap
ft_GlyphSlot_Own_Bitmap Source #
Arguments
| :: FT_GlyphSlot | slot |
| -> IO () |
FT_Bitmap_Done
Arguments
| :: FT_Library | library |
| -> Ptr FT_Bitmap | bitmap |
| -> IO () |
Additionally frees the passed pointer.