Safe Haskell | None |
---|---|
Language | Haskell98 |
FreeType.Support.Module
Contents
- FT_Module
- FT_Module_Constructor
- FT_Module_Destructor
- FT_Module_Requester
- FT_Module_Class
- FT_Add_Module
- FT_Get_Module
- FT_Remove_Module
- FT_Add_Default_Modules
- FT_Property_Set
- FT_Property_Get
- FT_Set_Default_Properties
- FT_New_Library
- FT_Done_Library
- FT_Reference_Library
- FT_Renderer
- FT_Renderer_Class
- FT_Get_Renderer
- FT_Set_Renderer
- FT_Set_Debug_Hook
- FT_Driver
- FT_DebugHook_Func
- FT_DEBUG_HOOK_XXX
Description
Please refer to the Support API > Module Management chapter of the reference.
Internal: FreeType.Support.Module.Internal.
Synopsis
- type FT_Module = Ptr FT_ModuleRec
- type FT_Module_Constructor = FT_Module -> IO FT_Error
- type FT_Module_Destructor = FT_Module -> IO ()
- type FT_Module_Requester = FT_Module -> Ptr Int8 -> IO FT_Module_Interface
- type FT_Module_Interface = FT_Pointer
- data FT_Module_Class = FT_Module_Class {}
- ft_Add_Module :: FT_Library -> Ptr FT_Module_Class -> IO ()
- ft_Get_Module :: FT_Library -> String -> IO (Maybe FT_Module)
- ft_Remove_Module :: FT_Library -> FT_Module -> IO ()
- ft_Add_Default_Modules :: FT_Library -> IO ()
- ft_Property_Set :: FT_Library -> String -> String -> Ptr () -> IO ()
- ft_Property_Get :: FT_Library -> String -> String -> Ptr () -> IO ()
- ft_Set_Default_Properties :: FT_Library -> IO ()
- ft_New_Library :: FT_Memory -> IO FT_Library
- ft_Done_Library :: FT_Library -> IO ()
- ft_Reference_Library :: FT_Library -> IO ()
- type FT_Renderer = Ptr FT_RendererRec
- data FT_Renderer_Class = FT_Renderer_Class {
- rcRoot :: FT_Module_Class
- rcGlyph_format :: FT_Glyph_Format
- rcRender_glyph :: FunPtr FT_Renderer_RenderFunc
- rcTransform_glyph :: FunPtr FT_Renderer_TransformFunc
- rcGet_glyph_cbox :: FunPtr FT_Renderer_GetCBoxFunc
- rcSet_mode :: FunPtr FT_Renderer_SetModeFunc
- rcRaster_class :: Ptr FT_Raster_Funcs
- ft_Get_Renderer :: FT_Library -> FT_Glyph_Format -> IO (Maybe FT_Renderer)
- ft_Set_Renderer :: FT_Library -> FT_Renderer -> FT_UInt -> Ptr FT_Parameter -> IO ()
- ft_Set_Debug_Hook :: FT_Library -> FT_UInt -> FT_DebugHook_Func -> IO ()
- type FT_Driver = Ptr FT_DriverRec
- type FT_DebugHook_Func = Ptr () -> IO FT_Error
- pattern FT_DEBUG_HOOK_TRUETYPE :: (Eq a, Num a) => a
FT_Module
FT_Module_Constructor
FT_Module_Destructor
type FT_Module_Destructor Source #
FT_Module_Requester
type FT_Module_Requester Source #
Arguments
= FT_Module | module |
-> Ptr Int8 | name |
-> IO FT_Module_Interface |
type FT_Module_Interface = FT_Pointer Source #
FT_Module_Class
data FT_Module_Class Source #
Constructors
Instances
Storable FT_Module_Class Source # | |
Defined in FreeType.Support.Module.Types Methods sizeOf :: FT_Module_Class -> Int # alignment :: FT_Module_Class -> Int # peekElemOff :: Ptr FT_Module_Class -> Int -> IO FT_Module_Class # pokeElemOff :: Ptr FT_Module_Class -> Int -> FT_Module_Class -> IO () # peekByteOff :: Ptr b -> Int -> IO FT_Module_Class # pokeByteOff :: Ptr b -> Int -> FT_Module_Class -> IO () # peek :: Ptr FT_Module_Class -> IO FT_Module_Class # poke :: Ptr FT_Module_Class -> FT_Module_Class -> IO () # |
FT_Add_Module
Arguments
:: FT_Library | library |
-> Ptr FT_Module_Class | clazz |
-> IO () |
FT_Get_Module
Arguments
:: FT_Library | library |
-> String | module_name |
-> IO (Maybe FT_Module) |
FT_Remove_Module
Arguments
:: FT_Library | library |
-> FT_Module | module |
-> IO () |
FT_Add_Default_Modules
ft_Add_Default_Modules Source #
Arguments
:: FT_Library | library |
-> IO () |
FT_Property_Set
Arguments
:: FT_Library | library |
-> String | module_name |
-> String | property_name |
-> Ptr () | value |
-> IO () |
FT_Property_Get
Arguments
:: FT_Library | library |
-> String | module_name |
-> String | property_name |
-> Ptr () | value |
-> IO () |
FT_Set_Default_Properties
ft_Set_Default_Properties Source #
Arguments
:: FT_Library | library |
-> IO () |
FT_New_Library
Arguments
:: FT_Memory | memory |
-> IO FT_Library | library |
FT_Done_Library
Arguments
:: FT_Library | library |
-> IO () |
FT_Reference_Library
Arguments
:: FT_Library | library |
-> IO () |
FT_Renderer
type FT_Renderer = Ptr FT_RendererRec Source #
FT_Renderer_Class
data FT_Renderer_Class Source #
Constructors
FT_Renderer_Class | |
Fields
|
Instances
Storable FT_Renderer_Class Source # | |
Defined in FreeType.Support.Module.Types Methods sizeOf :: FT_Renderer_Class -> Int # alignment :: FT_Renderer_Class -> Int # peekElemOff :: Ptr FT_Renderer_Class -> Int -> IO FT_Renderer_Class # pokeElemOff :: Ptr FT_Renderer_Class -> Int -> FT_Renderer_Class -> IO () # peekByteOff :: Ptr b -> Int -> IO FT_Renderer_Class # pokeByteOff :: Ptr b -> Int -> FT_Renderer_Class -> IO () # peek :: Ptr FT_Renderer_Class -> IO FT_Renderer_Class # poke :: Ptr FT_Renderer_Class -> FT_Renderer_Class -> IO () # |
FT_Get_Renderer
Arguments
:: FT_Library | library |
-> FT_Glyph_Format | format |
-> IO (Maybe FT_Renderer) |
FT_Set_Renderer
Arguments
:: FT_Library | library |
-> FT_Renderer | renderer |
-> FT_UInt | num_params |
-> Ptr FT_Parameter | parameters |
-> IO () |
FT_Set_Debug_Hook
Arguments
:: FT_Library | library |
-> FT_UInt | hook_index |
-> FT_DebugHook_Func | debug_hook |
-> IO () |
FT_Driver
FT_DebugHook_Func
FT_DEBUG_HOOK_XXX
pattern FT_DEBUG_HOOK_TRUETYPE :: (Eq a, Num a) => a Source #