freetype2-0.2.0: Haskell bindings for FreeType 2 library

Safe HaskellNone
LanguageHaskell98

FreeType.Format.Multiple

Contents

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

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_Get_MM_Var Source #

Arguments

:: FT_Face

face

-> IO (Ptr FT_MM_Var)

master

FT_Done_MM_Var

ft_Done_MM_Var Source #

Arguments

:: FT_Library

library

-> Ptr FT_MM_Var

master

-> IO () 

FT_Set_MM_Design_Coordinates

ft_Set_MM_Design_Coordinates Source #

Arguments

:: FT_Face

face

-> [FT_Long]

coords

-> IO () 

FT_Set_Var_Design_Coordinates

ft_Set_Var_Design_Coordinates Source #

Arguments

:: FT_Face

face

-> [FT_Fixed]

coords

-> IO () 

FT_Get_Var_Design_Coordinates

ft_Get_Var_Design_Coordinates Source #

Arguments

:: FT_Face

face

-> FT_UInt

num_coords

-> IO [FT_Fixed]

coords

FT_Set_MM_Blend_Coordinates

ft_Set_MM_Blend_Coordinates Source #

Arguments

:: FT_Face

face,

-> [FT_Fixed]

coords

-> IO () 

FT_Get_MM_Blend_Coordinates

ft_Get_MM_Blend_Coordinates Source #

Arguments

:: FT_Face

face

-> FT_UInt

num_coords

-> IO [FT_Fixed]

coords

FT_Set_Var_Blend_Coordinates

ft_Set_Var_Blend_Coordinates Source #

Arguments

:: FT_Face

face,

-> [FT_Fixed]

coords

-> IO () 

FT_Get_Var_Blend_Coordinates

ft_Get_Var_Blend_Coordinates Source #

Arguments

:: FT_Face

face

-> FT_UInt

num_coords

-> IO [FT_Fixed]

coords

FT_Set_MM_WeightVector

ft_Set_MM_WeightVector Source #

Arguments

:: FT_Face

face

-> [FT_Fixed]

weightvector

-> IO () 

FT_Get_MM_WeightVector

ft_Get_MM_WeightVector Source #

Arguments

:: FT_Face

face

-> FT_UInt

len

-> IO [FT_Fixed]

weightvector

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

FT_Get_Var_Axis_Flags

ft_Get_Var_Axis_Flags Source #

Arguments

:: Ptr FT_MM_Var

master

-> FT_UInt

axis_index

-> IO FT_UInt

flags

FT_Set_Named_Instance

ft_Set_Named_Instance Source #

Arguments

:: FT_Face

face

-> FT_UInt

instance_index

-> IO ()