freetype2-0.2.0: Haskell bindings for FreeType 2 library

Safe HaskellNone
LanguageHaskell98

FreeType.Cache

Contents

Description

Please refer to the Cache Sub-System > Cache Sub-System chapter of the reference.

Internal: FreeType.Cache.Internal.

Synopsis

FTC_Manager

type FTC_Manager = Ptr FTC_ManagerRec Source #

FTC_FaceID

FTC_Face_Requester

FTC_Manager_New

ftc_Manager_New Source #

Arguments

:: FT_Library

library

-> FT_UInt

max_faces

-> FT_UInt

max_sizes

-> FT_ULong

max_bytes

-> FTC_Face_Requester

requester

-> FT_Pointer

req_data

-> IO FTC_Manager

manager

ftc_Manager_With Source #

Arguments

:: FT_Library

library

-> FT_UInt

max_faces

-> FT_UInt

max_sizes

-> FT_ULong

max_bytes

-> FTC_Face_Requester

requester

-> FT_Pointer

req_data

-> (FTC_Manager -> IO a) 
-> IO a 

bracket over ft_Manager_With and ft_Manager_Done.

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

FTC_Manager_Reset

ftc_Manager_Reset Source #

Arguments

:: FTC_Manager

manager

-> IO () 

FTC_Manager_Done

ftc_Manager_Done Source #

Arguments

:: FTC_Manager

manager

-> IO () 

FTC_Manager_LookupFace

FTC_Manager_LookupSize

FTC_Manager_RemoveFaceID

ftc_Manager_RemoveFaceID Source #

Arguments

:: FTC_Manager

manager

-> FTC_FaceID

face_id

-> IO () 

FTC_Node

type FTC_Node = Ptr FTC_NodeRec Source #

FTC_Node_Unref

ftc_Node_Unref Source #

Arguments

:: FTC_Node

node

-> FTC_Manager

manager

-> IO () 

FTC_ImageCache

type FTC_ImageCache = Ptr FTC_ImageCacheRec Source #

FTC_ImageCache_New

FTC_ImageCache_Lookup

ftc_ImageCache_Lookup Source #

Arguments

:: FTC_ImageCache

cache

-> FTC_ImageType

type

-> FT_UInt

gindex

-> IO (FT_Glyph, Maybe FTC_Node)

(aglyph, anode)

FTC_SBit

FTC_SBitCache

type FTC_SBitCache = Ptr FTC_SBitCacheRec Source #

FTC_SBitCache_New

FTC_SBitCache_Lookup

ftc_SBitCache_Lookup Source #

Arguments

:: FTC_SBitCache

cache

-> FTC_ImageType

type

-> FT_UInt

gindex

-> IO (FTC_SBit, Maybe FTC_Node)

(sbit, anode)

FTC_CMapCache

type FTC_CMapCache = Ptr FTC_CMapCacheRec Source #

FTC_CMapCache_New

FTC_CMapCache_Lookup

ftc_CMapCache_Lookup Source #

Arguments

:: FTC_CMapCache

cache

-> FTC_FaceID

face_id

-> FT_Int

cmap_index

-> FT_UInt32

char_code

-> IO FT_UInt 

FTC_ScalerRec

FTC_Scaler

FTC_ImageTypeRec

FTC_ImageType

FTC_ImageCache_LookupScaler

ftc_ImageCache_LookupScaler Source #

Arguments

:: FTC_ImageCache

cache

-> FTC_Scaler

scaler

-> FT_ULong

load_flags

-> FT_UInt

gindex

-> IO (FT_Glyph, Maybe FTC_Node)

(aglyph, anode)

FTC_SBitRec

FTC_SBitCache_LookupScaler

ftc_SBitCache_LookupScaler Source #

Arguments

:: FTC_SBitCache

cache

-> FTC_Scaler

scaler

-> FT_ULong

load_flags

-> FT_UInt

gindex

-> IO (FTC_SBit, Maybe FTC_Node)

(sbit, anode)