20 #include FT_FREETYPE_H
21 #include FT_INTERNAL_OBJECTS_H
24 #ifdef FT_CONFIG_OPTION_PIC
27 void FT_Init_Class_ft_outline_glyph_class(
FT_Glyph_Class* clazz );
31 void FT_Init_Table_raccess_guess_table( ft_raccess_guess_rec* record );
43 FT_PIC_Container* pic_container = &library->pic_container;
45 if ( pic_container->base )
48 ft_destroy_default_module_classes( library );
51 pic_container->base =
NULL;
59 FT_PIC_Container* pic_container = &library->pic_container;
65 if (
FT_ALLOC ( container,
sizeof ( *container ) ) )
67 FT_MEM_SET( container, 0,
sizeof ( *container ) );
68 pic_container->base = container;
71 error = ft_create_default_module_classes( library );
76 FT_Init_Class_ft_outline_glyph_class(
77 &container->ft_outline_glyph_class );
78 FT_Init_Class_ft_bitmap_glyph_class(
79 &container->ft_bitmap_glyph_class );
80 FT_Init_Table_raccess_guess_table(
81 (ft_raccess_guess_rec*)&container->ft_raccess_guess_table);
85 ft_base_pic_free( library );
#define FT_ALLOC(ptr, size)
typedefFT_BEGIN_HEADER struct FT_Glyph_Class_ FT_Glyph_Class
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
#define FT_MEM_SET(dest, byte, count)