nsIFreeType2

IID:606eac78-16d4-486a-9f0e-f180aebd449b
Inherits From:nsISupports

This interface is implemented by the following components:


Properties

readonly FTC_Manager FTCacheManager

readonly FTC_Image_Cache ImageCache

readonly FT_Library library


Methods

void doneFace ( FT_Face face ) void doneFreeType ( FT_Library lib ) void doneGlyph ( FT_Glyph glyph ) FT_UInt getCharIndex ( FT_Face face , FT_ULong charcode ) FT_ULong getFirstChar ( FT_Face face , out FT_UInt gindex ) void getGlyph ( FT_GlyphSlot slot , out FT_Glyph glyph ) void getKerning ( FT_Face face , FT_UInt left_glyph , FT_UInt right_glyph , FT_UInt kern_mode , out FT_Vector akerning ) FT_ULong getNextChar ( FT_Face face , FT_ULong charcode , out FT_UInt gindex ) voidPtr* getSfntTable ( FT_Face face , FT_Sfnt_Tag tag ) void glyphCopy ( FT_Glyph source , out FT_Glyph target ) void glyphGetCBox ( FT_Glyph glyph , FT_UInt mode , out FT_BBox box ) void glyphToBitmap ( inout FT_Glyph the_glyph , FT_Render_Mode render_mode , FT_Vector_p* origin , FT_Bool destroy ) void glyphTransform ( FT_Glyph glyph , FT_Matrix_p* matrix , FT_Vector_p* delta ) void imageCacheLookup ( FTC_Image_Cache cache , FTC_Image_Desc_p* desc , FT_UInt gindex , out FT_Glyph glyph ) void imageCacheNew ( FTC_Manager manager , out FTC_Image_Cache cache ) void initFreeType ( out FT_Library lib ) void loadGlyph ( FT_Face face , FT_UInt gindex , FT_Int flags ) void managerDone ( FTC_Manager manager ) void managerLookupSize ( FTC_Manager manager , FTC_Font font , out FT_Face face , out FT_Size size ) void managerNew ( FT_Library lib , FT_UInt max_faces , FT_UInt max_sizes , FT_ULong max_bytes , FTC_Face_Requester requester , FT_Pointer req_data , out FTC_Manager manager ) void newFace ( FT_Library lib , constCharPtr* filename , FT_Long face_num , out FT_Face face ) void outlineDecompose ( FT_Outline_p* outline , const_FT_Outline_Funcs_p* funcs , voidPtr* p ) void setCharmap ( FT_Face face , FT_CharMap charmap ) void supportsExtFunc ( out PRBool res )

void doneFace ( FT_Face face )

Arguments:
face

void doneFreeType ( FT_Library lib )

Arguments:
lib

void doneGlyph ( FT_Glyph glyph )

Arguments:
glyph

FT_UInt getCharIndex ( FT_Face face , FT_ULong charcode )

Arguments:
face
charcode

FT_ULong getFirstChar ( FT_Face face , out FT_UInt gindex )

Arguments:
face
gindex

void getGlyph ( FT_GlyphSlot slot , out FT_Glyph glyph )

Arguments:
slot
glyph

void getKerning ( FT_Face face , FT_UInt left_glyph , FT_UInt right_glyph , FT_UInt kern_mode , out FT_Vector akerning )

Arguments:
face
left_glyph
right_glyph
kern_mode
akerning

FT_ULong getNextChar ( FT_Face face , FT_ULong charcode , out FT_UInt gindex )

Arguments:
face
charcode
gindex

voidPtr* getSfntTable ( FT_Face face , FT_Sfnt_Tag tag )

Arguments:
face
tag

void glyphCopy ( FT_Glyph source , out FT_Glyph target )

Arguments:
source
target

void glyphGetCBox ( FT_Glyph glyph , FT_UInt mode , out FT_BBox box )

Arguments:
glyph
mode
box

void glyphToBitmap ( inout FT_Glyph the_glyph , FT_Render_Mode render_mode , FT_Vector_p* origin , FT_Bool destroy )

Arguments:
the_glyph
render_mode
origin
destroy

void glyphTransform ( FT_Glyph glyph , FT_Matrix_p* matrix , FT_Vector_p* delta )

Arguments:
glyph
matrix
delta

void imageCacheLookup ( FTC_Image_Cache cache , FTC_Image_Desc_p* desc , FT_UInt gindex , out FT_Glyph glyph )

Arguments:
cache
desc
gindex
glyph

void imageCacheNew ( FTC_Manager manager , out FTC_Image_Cache cache )

Arguments:
manager
cache

void initFreeType ( out FT_Library lib )

Arguments:
lib

void loadGlyph ( FT_Face face , FT_UInt gindex , FT_Int flags )

Arguments:
face
gindex
flags

void managerDone ( FTC_Manager manager )

Arguments:
manager

void managerLookupSize ( FTC_Manager manager , FTC_Font font , out FT_Face face , out FT_Size size )

Arguments:
manager
font
face
size

void managerNew ( FT_Library lib , FT_UInt max_faces , FT_UInt max_sizes , FT_ULong max_bytes , FTC_Face_Requester requester , FT_Pointer req_data , out FTC_Manager manager )

Arguments:
lib
max_faces
max_sizes
max_bytes
requester
req_data
manager

void newFace ( FT_Library lib , constCharPtr* filename , FT_Long face_num , out FT_Face face )

Arguments:
lib
filename
face_num
face

void outlineDecompose ( FT_Outline_p* outline , const_FT_Outline_Funcs_p* funcs , voidPtr* p )

Arguments:
outline
funcs
p

void setCharmap ( FT_Face face , FT_CharMap charmap )

Arguments:
face
charmap

void supportsExtFunc ( out PRBool res )

Arguments:
res

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com