Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygensvttglyf.h
Go to the documentation of this file.
00001 /***************************************************************************/ 00002 /* */ 00003 /* svttglyf.h */ 00004 /* */ 00005 /* The FreeType TrueType glyph service. */ 00006 /* */ 00007 /* Copyright 2007 by David Turner. */ 00008 /* */ 00009 /* This file is part of the FreeType project, and may only be used, */ 00010 /* modified, and distributed under the terms of the FreeType project */ 00011 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 00012 /* this file you indicate that you have read the license and */ 00013 /* understand and accept it fully. */ 00014 /* */ 00015 /***************************************************************************/ 00016 00017 #ifndef __SVTTGLYF_H__ 00018 #define __SVTTGLYF_H__ 00019 00020 #include FT_INTERNAL_SERVICE_H 00021 #include FT_TRUETYPE_TABLES_H 00022 00023 00024 FT_BEGIN_HEADER 00025 00026 00027 #define FT_SERVICE_ID_TT_GLYF "tt-glyf" 00028 00029 00030 typedef FT_ULong 00031 (*TT_Glyf_GetLocationFunc)( FT_Face face, 00032 FT_UInt gindex, 00033 FT_ULong *psize ); 00034 00035 FT_DEFINE_SERVICE( TTGlyf ) 00036 { 00037 TT_Glyf_GetLocationFunc get_location; 00038 }; 00039 00040 #ifndef FT_CONFIG_OPTION_PIC 00041 00042 #define FT_DEFINE_SERVICE_TTGLYFREC(class_, get_location_ ) \ 00043 static const FT_Service_TTGlyfRec class_ = \ 00044 { \ 00045 get_location_ \ 00046 }; 00047 00048 #else /* FT_CONFIG_OPTION_PIC */ 00049 00050 #define FT_DEFINE_SERVICE_TTGLYFREC(class_, get_location_ ) \ 00051 void \ 00052 FT_Init_Class_##class_( FT_Service_TTGlyfRec* clazz ) \ 00053 { \ 00054 clazz->get_location = get_location_; \ 00055 } 00056 00057 #endif /* FT_CONFIG_OPTION_PIC */ 00058 00059 /* */ 00060 00061 00062 FT_END_HEADER 00063 00064 #endif /* __SVTTGLYF_H__ */ 00065 00066 00067 /* END */ Generated on Tue May 22 2012 04:37:42 for ReactOS by
1.7.6.1
|