freetype2-0.2.0: Haskell bindings for FreeType 2 library

Safe HaskellNone
LanguageHaskell98

FreeType.Core.Glyph

Contents

Description

Please refer to the Core API > Glyph Management chapter of the reference.

Internal: FreeType.Core.Glyph.Internal.

Synopsis

FT_Glyph

FT_GlyphRec

FT_BitmapGlyph

FT_BitmapGlyphRec

FT_OutlineGlyph

FT_OutlineGlyphRec

FT_New_Glyph

ft_New_Glyph Source #

Arguments

:: FT_Library

library

-> FT_Glyph_Format

format

-> IO FT_Glyph

glyph

ft_With_Glyph Source #

Arguments

:: FT_Library

library

-> FT_Glyph_Format

format

-> (FT_Glyph -> IO a) 
-> IO a 

bracket over ft_New_Glyph and ft_With_Glyph.

The provided FT_Glyph should not be used after this function terminates.

FT_Get_Glyph

FT_Glyph_Copy

ft_Glyph_Copy Source #

Arguments

:: FT_Glyph

source

-> Ptr FT_Glyph

target

-> IO () 

FT_Glyph_Transform

ft_Glyph_Transform Source #

Arguments

:: FT_Glyph

glyph

-> FT_Matrix

matrix

-> FT_Vector

delta

-> IO () 

FT_Glyph_BBox_Mode

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

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

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

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

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

FT_Glyph_Get_CBox

ft_Glyph_Get_CBox Source #

Arguments

:: FT_Glyph

glyph

-> FT_UInt

bbox_mode

-> IO FT_BBox

cbox

FT_Glyph_To_Bitmap

ft_Glyph_To_Bitmap Source #

Arguments

:: Ptr FT_Glyph

the_glyph

-> FT_Render_Mode

render_mode

-> Ptr FT_Vector

origin

-> Bool

destroy

-> IO () 

FT_Done_Glyph

ft_Done_Glyph Source #

Arguments

:: FT_Glyph

glyph

-> IO ()