00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #include <ft2build.h>
00020 #include FT_FREETYPE_H
00021 #include FT_INTERNAL_OBJECTS_H
00022 #include "basepic.h"
00023
00024 #ifdef FT_CONFIG_OPTION_PIC
00025
00026
00027
00028 FT_BASE_DEF( FT_Error )
00029 ft_pic_container_init( FT_Library library )
00030 {
00031 FT_PIC_Container* pic_container = &library->pic_container;
00032 FT_Error error = FT_Err_Ok;
00033
00034 FT_MEM_SET( pic_container, 0, sizeof(*pic_container) );
00035
00036 error = ft_base_pic_init( library );
00037 if(error)
00038 return error;
00039
00040 return FT_Err_Ok;
00041 }
00042
00043
00044
00045 FT_BASE_DEF( void )
00046 ft_pic_container_destroy( FT_Library library )
00047 {
00048 ft_base_pic_free( library );
00049 }
00050
00051 #endif
00052
00053
00054