ReactOS Fundraising Campaign 2012
 
€ 4,060 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

svttglyf.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 doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.