Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygensvbdf.h
Go to the documentation of this file.
00001 /***************************************************************************/ 00002 /* */ 00003 /* svbdf.h */ 00004 /* */ 00005 /* The FreeType BDF services (specification). */ 00006 /* */ 00007 /* Copyright 2003 by */ 00008 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 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 __SVBDF_H__ 00020 #define __SVBDF_H__ 00021 00022 #include FT_BDF_H 00023 #include FT_INTERNAL_SERVICE_H 00024 00025 00026 FT_BEGIN_HEADER 00027 00028 00029 #define FT_SERVICE_ID_BDF "bdf" 00030 00031 typedef FT_Error 00032 (*FT_BDF_GetCharsetIdFunc)( FT_Face face, 00033 const char* *acharset_encoding, 00034 const char* *acharset_registry ); 00035 00036 typedef FT_Error 00037 (*FT_BDF_GetPropertyFunc)( FT_Face face, 00038 const char* prop_name, 00039 BDF_PropertyRec *aproperty ); 00040 00041 00042 FT_DEFINE_SERVICE( BDF ) 00043 { 00044 FT_BDF_GetCharsetIdFunc get_charset_id; 00045 FT_BDF_GetPropertyFunc get_property; 00046 }; 00047 00048 #ifndef FT_CONFIG_OPTION_PIC 00049 00050 #define FT_DEFINE_SERVICE_BDFRec(class_, get_charset_id_, get_property_) \ 00051 static const FT_Service_BDFRec class_ = \ 00052 { \ 00053 get_charset_id_, get_property_ \ 00054 }; 00055 00056 #else /* FT_CONFIG_OPTION_PIC */ 00057 00058 #define FT_DEFINE_SERVICE_BDFRec(class_, get_charset_id_, get_property_) \ 00059 void \ 00060 FT_Init_Class_##class_( FT_Service_BDFRec* clazz ) \ 00061 { \ 00062 clazz->get_charset_id = get_charset_id_; \ 00063 clazz->get_property = get_property_; \ 00064 } 00065 00066 #endif /* FT_CONFIG_OPTION_PIC */ 00067 00068 /* */ 00069 00070 00071 FT_END_HEADER 00072 00073 00074 #endif /* __SVBDF_H__ */ 00075 00076 00077 /* END */ Generated on Fri May 25 2012 04:32:06 for ReactOS by
1.7.6.1
|