20 #include FT_FREETYPE_H 21 #include FT_INTERNAL_OBJECTS_H 26 #ifdef FT_CONFIG_OPTION_PIC 38 FT_Service_PsCMapsRec* clazz );
44 FT_PIC_Container* pic_container = &library->pic_container;
48 if ( pic_container->psnames )
50 PSModulePIC* container = (PSModulePIC*)pic_container->psnames;
53 if ( container->pscmaps_services )
54 FT_Destroy_Class_pscmaps_services( library,
55 container->pscmaps_services );
56 container->pscmaps_services =
NULL;
58 pic_container->psnames =
NULL;
64 psnames_module_class_pic_init(
FT_Library library )
66 FT_PIC_Container* pic_container = &library->pic_container;
68 PSModulePIC* container =
NULL;
73 if (
FT_ALLOC( container,
sizeof ( *container ) ) )
75 FT_MEM_SET( container, 0,
sizeof ( *container ) );
76 pic_container->psnames = container;
80 error = FT_Create_Class_pscmaps_services(
81 library, &container->pscmaps_services );
84 FT_Init_Class_pscmaps_interface( library,
85 &container->pscmaps_interface );
89 psnames_module_class_pic_free( library );
#define FT_ALLOC(ptr, size)
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
if(!abbox) return FT_THROW(Invalid_Argument)
#define FT_MEM_SET(dest, byte, count)