rastpic.h

Go to the documentation of this file.
00001 /***************************************************************************/
00002 /*                                                                         */
00003 /*  rastpic.h                                                              */
00004 /*                                                                         */
00005 /*    The FreeType position independent code services for raster 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 __RASTPIC_H__
00020 #define __RASTPIC_H__
00021 
00022   
00023 FT_BEGIN_HEADER
00024 
00025 #include FT_INTERNAL_PIC_H
00026 
00027 #ifndef FT_CONFIG_OPTION_PIC
00028 #define FT_STANDARD_RASTER_GET     ft_standard_raster
00029 
00030 #else /* FT_CONFIG_OPTION_PIC */
00031 
00032   typedef struct RasterPIC_
00033   {
00034     int ref_count;
00035     FT_Raster_Funcs ft_standard_raster;
00036   } RasterPIC;
00037 
00038 #define GET_PIC(lib)               ((RasterPIC*)((lib)->pic_container.raster))
00039 #define FT_STANDARD_RASTER_GET     (GET_PIC(library)->ft_standard_raster)
00040 
00041 #endif /* FT_CONFIG_OPTION_PIC */
00042 
00043  /* */
00044 
00045 FT_END_HEADER
00046 
00047 #endif /* __RASTPIC_H__ */
00048 
00049 
00050 /* END */

Generated on Tue Jul 5 14:13:50 2011 for ROOT_528-00b_version by  doxygen 1.5.1