Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenbasepic.h
Go to the documentation of this file.
00001 /***************************************************************************/ 00002 /* */ 00003 /* basepic.h */ 00004 /* */ 00005 /* The FreeType position independent code services for base. */ 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 #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 /* FT_CONFIG_OPTION_PIC */ 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 /* FT_CONFIG_OPTION_PIC */ 00055 /* */ 00056 00057 FT_END_HEADER 00058 00059 #endif /* __BASEPIC_H__ */ 00060 00061 00062 /* END */ Generated on Sat May 26 2012 04:32:29 for ReactOS by
1.7.6.1
|