00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __BASEPIC_H__
00020 #define __BASEPIC_H__
00021
00022
00023 FT_BEGIN_HEADER
00024
00025 #include FT_INTERNAL_PIC_H
00026
00027 #ifndef FT_CONFIG_OPTION_PIC
00028 #define FT_OUTLINE_GLYPH_CLASS_GET &ft_outline_glyph_class
00029 #define FT_BITMAP_GLYPH_CLASS_GET &ft_bitmap_glyph_class
00030 #define FT_DEFAULT_MODULES_GET ft_default_modules
00031
00032 #else
00033
00034 #include FT_GLYPH_H
00035
00036 typedef struct BasePIC_
00037 {
00038 FT_Module_Class** default_module_classes;
00039 FT_Glyph_Class ft_outline_glyph_class;
00040 FT_Glyph_Class ft_bitmap_glyph_class;
00041 } BasePIC;
00042
00043 #define GET_PIC(lib) ((BasePIC*)((lib)->pic_container.base))
00044 #define FT_OUTLINE_GLYPH_CLASS_GET (&GET_PIC(library)->ft_outline_glyph_class)
00045 #define FT_BITMAP_GLYPH_CLASS_GET (&GET_PIC(library)->ft_bitmap_glyph_class)
00046 #define FT_DEFAULT_MODULES_GET (GET_PIC(library)->default_module_classes)
00047
00048 void
00049 ft_base_pic_free( FT_Library library );
00050
00051 FT_Error
00052 ft_base_pic_init( FT_Library library );
00053
00054 #endif
00055
00056
00057 FT_END_HEADER
00058
00059 #endif
00060
00061
00062