freetype2-0.2.0: Haskell bindings for FreeType 2 library

Safe HaskellNone
LanguageHaskell98

FreeType.Support.Outline

Contents

Description

Please refer to the Support API > Outline Processing chapter of the reference.

Internal: FreeType.Support.Outline.Internal.

Synopsis

FT_Outline

FT_Outline_New

ft_Outline_New Source #

Arguments

:: FT_Library

library

-> FT_UInt

numPoints

-> FT_Int

numContours

-> IO (Ptr FT_Outline)

outline

Newly created FT_Outline is allocated using malloc and thus must be freed manually.

ft_Outline_With Source #

Arguments

:: FT_Library

library

-> FT_UInt

numPoints

-> FT_Int

numContours

-> (Ptr FT_Outline -> IO a) 
-> IO a 

bracket over ft_Outline_New and ft_Outline_Done.

The provided Ptr FT_Outline should not be used after this function terminates.

FT_Outline_Done

ft_Outline_Done Source #

Arguments

:: FT_Library

library

-> Ptr FT_Outline

outline

-> IO () 

Additionally frees the passed pointer.

FT_Outline_Copy

ft_Outline_Copy Source #

Arguments

:: Ptr FT_Outline

source

-> Ptr FT_Outline

target

-> IO () 

FT_Outline_Translate

ft_Outline_Translate Source #

Arguments

:: Ptr FT_Outline

outline

-> FT_Pos

xOffset

-> FT_Pos

yOffset

-> IO () 

FT_Outline_Transform

ft_Outline_Transform Source #

Arguments

:: Ptr FT_Outline

outline

-> FT_Matrix

matrix

-> IO () 

FT_Outline_Embolden

ft_Outline_Embolden Source #

Arguments

:: Ptr FT_Outline

outline

-> FT_Pos

strength

-> IO () 

FT_Outline_EmboldenXY

ft_Outline_EmboldenXY Source #

Arguments

:: Ptr FT_Outline

outline

-> FT_Pos

xstrength

-> FT_Pos

ystrength

-> IO () 

FT_Outline_Reverse

ft_Outline_Reverse Source #

Arguments

:: Ptr FT_Outline

outline

-> IO () 

FT_Outline_Check

ft_Outline_Check Source #

Arguments

:: Ptr FT_Outline

outline

-> IO () 

FT_Outline_Get_CBox

FT_Outline_Get_BBox

FT_Outline_Get_Bitmap

ft_Outline_Get_Bitmap Source #

Arguments

:: FT_Library

library

-> Ptr FT_Outline

outline

-> Ptr FT_Bitmap

bitmap

-> IO () 

FT_Outline_Render

ft_Outline_Render Source #

Arguments

:: FT_Library

library

-> Ptr FT_Outline

outline

-> Ptr FT_Raster_Params

params

-> IO () 

FT_Outline_Decompose

ft_Outline_Decompose Source #

Arguments

:: Ptr FT_Outline

outline

-> FT_Outline_Funcs

func_interface

-> Ptr ()

user

-> IO () 

FT_Outline_Funcs is only used as an argument (and this is the only function using it), so it's silently converted to FT_Outline_Funcs' inside.

FT_Outline_Funcs

FT_Outline_MoveToFunc

type FT_Outline_MoveToFunc Source #

Arguments

 = Ptr FT_Vector

to

-> Ptr ()

user

-> IO Int32 

FT_Outline_LineToFunc

type FT_Outline_LineToFunc Source #

Arguments

 = Ptr FT_Vector

to

-> Ptr ()

user

-> IO Int32 

FT_Outline_ConicToFunc

type FT_Outline_ConicToFunc Source #

Arguments

 = Ptr FT_Vector

control

-> Ptr FT_Vector

to

-> Ptr ()

user

-> IO Int32 

FT_Outline_CubicToFunc

type FT_Outline_CubicToFunc Source #

Arguments

 = Ptr FT_Vector

control1

-> Ptr FT_Vector

control2

-> Ptr FT_Vector

to

-> Ptr ()

user

-> IO Int32 

FT_Orientation

pattern FT_ORIENTATION_TRUETYPE :: (Eq a, Num a) => a Source #

pattern FT_ORIENTATION_POSTSCRIPT :: (Eq a, Num a) => a Source #

pattern FT_ORIENTATION_FILL_RIGHT :: (Eq a, Num a) => a Source #

pattern FT_ORIENTATION_FILL_LEFT :: (Eq a, Num a) => a Source #

pattern FT_ORIENTATION_NONE :: (Eq a, Num a) => a Source #

FT_Outline_Get_Orientation

FT_OUTLINE_XXX

pattern FT_OUTLINE_NONE :: (Eq a, Num a) => a Source #

pattern FT_OUTLINE_OWNER :: (Eq a, Num a) => a Source #

pattern FT_OUTLINE_EVEN_ODD_FILL :: (Eq a, Num a) => a Source #

pattern FT_OUTLINE_REVERSE_FILL :: (Eq a, Num a) => a Source #

pattern FT_OUTLINE_IGNORE_DROPOUTS :: (Eq a, Num a) => a Source #

pattern FT_OUTLINE_SMART_DROPOUTS :: (Eq a, Num a) => a Source #

pattern FT_OUTLINE_INCLUDE_STUBS :: (Eq a, Num a) => a Source #

pattern FT_OUTLINE_HIGH_PRECISION :: (Eq a, Num a) => a Source #

pattern FT_OUTLINE_SINGLE_PASS :: (Eq a, Num a) => a Source #