ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 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

afpic.h
Go to the documentation of this file.
00001 /***************************************************************************/
00002 /*                                                                         */
00003 /*  afpic.h                                                                */
00004 /*                                                                         */
00005 /*    The FreeType position independent code services for autofit 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 __AFPIC_H__
00020 #define __AFPIC_H__
00021 
00022   
00023 FT_BEGIN_HEADER
00024 
00025 #include FT_INTERNAL_PIC_H
00026 
00027 #ifndef FT_CONFIG_OPTION_PIC
00028 
00029 #define AF_SCRIPT_CLASSES_GET         af_script_classes
00030 #define AF_AF_AUTOFITTER_SERVICE_GET  af_autofitter_service
00031 
00032 #else /* FT_CONFIG_OPTION_PIC */
00033 
00034 #include "aftypes.h"
00035 
00036 /* increase these when you add new scripts, and update autofit_module_class_pic_init */
00037 #ifdef FT_OPTION_AUTOFIT2
00038   #define AF_SCRIPT_CLASSES_COUNT     6
00039 #else
00040   #define AF_SCRIPT_CLASSES_COUNT     5  
00041 #endif
00042 #define AF_SCRIPT_CLASSES_REC_COUNT  (AF_SCRIPT_CLASSES_COUNT-1)    
00043 
00044   typedef struct AFModulePIC_
00045   {
00046     AF_ScriptClass    af_script_classes[AF_SCRIPT_CLASSES_COUNT];
00047     AF_ScriptClassRec af_script_classes_rec[AF_SCRIPT_CLASSES_REC_COUNT];
00048     FT_AutoHinter_ServiceRec af_autofitter_service;
00049   } AFModulePIC;
00050 
00051 #define GET_PIC(lib)                  ((AFModulePIC*)((lib)->pic_container.autofit))
00052 #define AF_SCRIPT_CLASSES_GET         (GET_PIC(FT_FACE_LIBRARY(globals->face))->af_script_classes)
00053 #define AF_AF_AUTOFITTER_SERVICE_GET  (GET_PIC(library)->af_autofitter_service)
00054 
00055 #endif /* FT_CONFIG_OPTION_PIC */
00056 
00057  /* */
00058 
00059 FT_END_HEADER
00060 
00061 #endif /* __AFPIC_H__ */
00062 
00063 
00064 /* END */

Generated on Sat May 26 2012 04:32:29 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.