Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenftpic.c
Go to the documentation of this file.
00001 /***************************************************************************/ 00002 /* */ 00003 /* ftpic.c */ 00004 /* */ 00005 /* The FreeType position independent code services (body). */ 00006 /* */ 00007 /* Copyright 2009 by */ 00008 /* Oran Agra and Mickey Gabel. */ 00009 /* */ 00010 /* This file is part of the FreeType project, and may only be used, */ 00011 /* modified, and distributed under the terms of the FreeType project */ 00012 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 00013 /* this file you indicate that you have read the license and */ 00014 /* understand and accept it fully. */ 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 /* documentation is in ftpic.h */ 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 /* Destroy the contents of the container. */ 00045 FT_BASE_DEF( void ) 00046 ft_pic_container_destroy( FT_Library library ) 00047 { 00048 ft_base_pic_free( library ); 00049 } 00050 00051 #endif /* FT_CONFIG_OPTION_PIC */ 00052 00053 00054 /* END */ Generated on Sat May 26 2012 04:32:38 for ReactOS by
1.7.6.1
|