Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenttpic.h
Go to the documentation of this file.
00001 /***************************************************************************/ 00002 /* */ 00003 /* ttpic.h */ 00004 /* */ 00005 /* The FreeType position independent code services for truetype module. */ 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 __TTPIC_H__ 00020 #define __TTPIC_H__ 00021 00022 00023 FT_BEGIN_HEADER 00024 00025 #ifndef FT_CONFIG_OPTION_PIC 00026 #define FT_TT_SERVICES_GET tt_services 00027 #define FT_TT_SERVICE_GX_MULTI_MASTERS_GET tt_service_gx_multi_masters 00028 #define FT_TT_SERVICE_TRUETYPE_GLYF_GET tt_service_truetype_glyf 00029 00030 #else /* FT_CONFIG_OPTION_PIC */ 00031 00032 #include FT_MULTIPLE_MASTERS_H 00033 #include FT_SERVICE_MULTIPLE_MASTERS_H 00034 #include FT_SERVICE_TRUETYPE_GLYF_H 00035 00036 typedef struct TTModulePIC_ 00037 { 00038 FT_ServiceDescRec* tt_services; 00039 #ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT 00040 FT_Service_MultiMastersRec tt_service_gx_multi_masters; 00041 #endif 00042 FT_Service_TTGlyfRec tt_service_truetype_glyf; 00043 } TTModulePIC; 00044 00045 #define GET_PIC(lib) ((TTModulePIC*)((lib)->pic_container.truetype)) 00046 #define FT_TT_SERVICES_GET (GET_PIC(library)->tt_services) 00047 #define FT_TT_SERVICE_GX_MULTI_MASTERS_GET (GET_PIC(library)->tt_service_gx_multi_masters) 00048 #define FT_TT_SERVICE_TRUETYPE_GLYF_GET (GET_PIC(library)->tt_service_truetype_glyf) 00049 00050 #endif /* FT_CONFIG_OPTION_PIC */ 00051 00052 /* */ 00053 00054 FT_END_HEADER 00055 00056 #endif /* __TTPIC_H__ */ 00057 00058 00059 /* END */ Generated on Sat May 26 2012 04:32:58 for ReactOS by
1.7.6.1
|