Safe Haskell | None |
---|---|
Language | Haskell98 |
FreeType.Format.Multiple
Contents
- FT_MM_Axis
- FT_Multi_Master
- FT_Var_Axis
- FT_Var_Named_Style
- FT_MM_Var
- FT_Get_Multi_Master
- FT_Get_MM_Var
- FT_Done_MM_Var
- FT_Set_MM_Design_Coordinates
- FT_Set_Var_Design_Coordinates
- FT_Get_Var_Design_Coordinates
- FT_Set_MM_Blend_Coordinates
- FT_Get_MM_Blend_Coordinates
- FT_Set_Var_Blend_Coordinates
- FT_Get_Var_Blend_Coordinates
- FT_Set_MM_WeightVector
- FT_Get_MM_WeightVector
- FT_VAR_AXIS_FLAG_XXX
- FT_Get_Var_Axis_Flags
- FT_Set_Named_Instance
Description
All of the functions in this module that get/set coordinates automatically
set num_coords
based on list size and send nullPtr
as pointer if the
array is null
.
Please refer to the Format-Specific API > Multiple Masters chapter of the reference.
Internal: FreeType.Format.Multiple.Internal.
Synopsis
- data FT_MM_Axis = FT_MM_Axis {}
- data FT_Multi_Master = FT_Multi_Master {}
- data FT_Var_Axis = FT_Var_Axis {}
- data FT_Var_Named_Style = FT_Var_Named_Style {}
- data FT_MM_Var = FT_MM_Var {}
- ft_Get_Multi_Master :: FT_Face -> IO FT_Multi_Master
- ft_Get_MM_Var :: FT_Face -> IO (Ptr FT_MM_Var)
- ft_Done_MM_Var :: FT_Library -> Ptr FT_MM_Var -> IO ()
- ft_Set_MM_Design_Coordinates :: FT_Face -> [FT_Long] -> IO ()
- ft_Set_Var_Design_Coordinates :: FT_Face -> [FT_Fixed] -> IO ()
- ft_Get_Var_Design_Coordinates :: FT_Face -> FT_UInt -> IO [FT_Fixed]
- ft_Set_MM_Blend_Coordinates :: FT_Face -> [FT_Fixed] -> IO ()
- ft_Get_MM_Blend_Coordinates :: FT_Face -> FT_UInt -> IO [FT_Fixed]
- ft_Set_Var_Blend_Coordinates :: FT_Face -> [FT_Fixed] -> IO ()
- ft_Get_Var_Blend_Coordinates :: FT_Face -> FT_UInt -> IO [FT_Fixed]
- ft_Set_MM_WeightVector :: FT_Face -> [FT_Fixed] -> IO ()
- ft_Get_MM_WeightVector :: FT_Face -> FT_UInt -> IO [FT_Fixed]
- pattern FT_VAR_AXIS_FLAG_HIDDEN :: FT_UInt
- ft_Get_Var_Axis_Flags :: Ptr FT_MM_Var -> FT_UInt -> IO FT_UInt
- ft_Set_Named_Instance :: FT_Face -> FT_UInt -> IO ()
FT_MM_Axis
data FT_MM_Axis Source #
Constructors
FT_MM_Axis | |
Fields
|
Instances
Storable FT_MM_Axis Source # | |
Defined in FreeType.Format.Multiple.Types Methods sizeOf :: FT_MM_Axis -> Int # alignment :: FT_MM_Axis -> Int # peekElemOff :: Ptr FT_MM_Axis -> Int -> IO FT_MM_Axis # pokeElemOff :: Ptr FT_MM_Axis -> Int -> FT_MM_Axis -> IO () # peekByteOff :: Ptr b -> Int -> IO FT_MM_Axis # pokeByteOff :: Ptr b -> Int -> FT_MM_Axis -> IO () # peek :: Ptr FT_MM_Axis -> IO FT_MM_Axis # poke :: Ptr FT_MM_Axis -> FT_MM_Axis -> IO () # |
FT_Multi_Master
data FT_Multi_Master Source #
Constructors
FT_Multi_Master | |
Fields
|
Instances
Storable FT_Multi_Master Source # | |
Defined in FreeType.Format.Multiple.Types Methods sizeOf :: FT_Multi_Master -> Int # alignment :: FT_Multi_Master -> Int # peekElemOff :: Ptr FT_Multi_Master -> Int -> IO FT_Multi_Master # pokeElemOff :: Ptr FT_Multi_Master -> Int -> FT_Multi_Master -> IO () # peekByteOff :: Ptr b -> Int -> IO FT_Multi_Master # pokeByteOff :: Ptr b -> Int -> FT_Multi_Master -> IO () # peek :: Ptr FT_Multi_Master -> IO FT_Multi_Master # poke :: Ptr FT_Multi_Master -> FT_Multi_Master -> IO () # |
FT_Var_Axis
data FT_Var_Axis Source #
Constructors
FT_Var_Axis | |
Instances
Storable FT_Var_Axis Source # | |
Defined in FreeType.Format.Multiple.Types Methods sizeOf :: FT_Var_Axis -> Int # alignment :: FT_Var_Axis -> Int # peekElemOff :: Ptr FT_Var_Axis -> Int -> IO FT_Var_Axis # pokeElemOff :: Ptr FT_Var_Axis -> Int -> FT_Var_Axis -> IO () # peekByteOff :: Ptr b -> Int -> IO FT_Var_Axis # pokeByteOff :: Ptr b -> Int -> FT_Var_Axis -> IO () # peek :: Ptr FT_Var_Axis -> IO FT_Var_Axis # poke :: Ptr FT_Var_Axis -> FT_Var_Axis -> IO () # |
FT_Var_Named_Style
data FT_Var_Named_Style Source #
Constructors
FT_Var_Named_Style | |
Instances
Storable FT_Var_Named_Style Source # | |
Defined in FreeType.Format.Multiple.Types Methods sizeOf :: FT_Var_Named_Style -> Int # alignment :: FT_Var_Named_Style -> Int # peekElemOff :: Ptr FT_Var_Named_Style -> Int -> IO FT_Var_Named_Style # pokeElemOff :: Ptr FT_Var_Named_Style -> Int -> FT_Var_Named_Style -> IO () # peekByteOff :: Ptr b -> Int -> IO FT_Var_Named_Style # pokeByteOff :: Ptr b -> Int -> FT_Var_Named_Style -> IO () # peek :: Ptr FT_Var_Named_Style -> IO FT_Var_Named_Style # poke :: Ptr FT_Var_Named_Style -> FT_Var_Named_Style -> IO () # |
FT_MM_Var
Constructors
FT_MM_Var | |
Fields |
Instances
Storable FT_MM_Var Source # | |
Defined in FreeType.Format.Multiple.Types |
FT_Get_Multi_Master
Arguments
:: FT_Face | face |
-> IO FT_Multi_Master | master |
FT_Get_MM_Var
FT_Done_MM_Var
Arguments
:: FT_Library | library |
-> Ptr FT_MM_Var | master |
-> IO () |
FT_Set_MM_Design_Coordinates
FT_Set_Var_Design_Coordinates
FT_Get_Var_Design_Coordinates
FT_Set_MM_Blend_Coordinates
FT_Get_MM_Blend_Coordinates
FT_Set_Var_Blend_Coordinates
FT_Get_Var_Blend_Coordinates
FT_Set_MM_WeightVector
FT_Get_MM_WeightVector
ft_Get_MM_WeightVector Source #
If ft_Get_MM_Weight_Vector
throws FT_Err_Invalid_Argument
(because
len
provided was too small), it is automatically called again
with the correct value.
FT_VAR_AXIS_FLAG_XXX
pattern FT_VAR_AXIS_FLAG_HIDDEN :: FT_UInt Source #