pfrobjs.h

Go to the documentation of this file.
00001 /***************************************************************************/
00002 /*                                                                         */
00003 /*  pfrobjs.h                                                              */
00004 /*                                                                         */
00005 /*    FreeType PFR object methods (specification).                         */
00006 /*                                                                         */
00007 /*  Copyright 2002, 2003, 2004 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 __PFROBJS_H__
00020 #define __PFROBJS_H__
00021 
00022 #include "pfrtypes.h"
00023 
00024 
00025 FT_BEGIN_HEADER
00026 
00027   typedef struct PFR_FaceRec_*  PFR_Face;
00028 
00029   typedef struct PFR_SizeRec_*  PFR_Size;
00030 
00031   typedef struct PFR_SlotRec_*  PFR_Slot;
00032 
00033 
00034   typedef struct  PFR_FaceRec_
00035   {
00036     FT_FaceRec      root;
00037     PFR_HeaderRec   header;
00038     PFR_LogFontRec  log_font;
00039     PFR_PhyFontRec  phy_font;
00040 
00041   } PFR_FaceRec;
00042 
00043 
00044   typedef struct  PFR_SizeRec_
00045   {
00046     FT_SizeRec  root;
00047 
00048   } PFR_SizeRec;
00049 
00050 
00051   typedef struct  PFR_SlotRec_
00052   {
00053     FT_GlyphSlotRec  root;
00054     PFR_GlyphRec     glyph;
00055 
00056   } PFR_SlotRec;
00057 
00058 
00059   FT_LOCAL( FT_Error )
00060   pfr_face_init( FT_Stream      stream,
00061                  FT_Face        face,           /* PFR_Face */
00062                  FT_Int         face_index,
00063                  FT_Int         num_params,
00064                  FT_Parameter*  params );
00065 
00066   FT_LOCAL( void )
00067   pfr_face_done( FT_Face  face );               /* PFR_Face */
00068 
00069 
00070   FT_LOCAL( FT_Error )
00071   pfr_face_get_kerning( FT_Face     face,       /* PFR_Face */
00072                         FT_UInt     glyph1,
00073                         FT_UInt     glyph2,
00074                         FT_Vector*  kerning );
00075 
00076 
00077   FT_LOCAL( FT_Error )
00078   pfr_slot_init( FT_GlyphSlot  slot );          /* PFR_Slot */
00079 
00080   FT_LOCAL( void )
00081   pfr_slot_done( FT_GlyphSlot  slot );          /* PFR_Slot */
00082 
00083 
00084   FT_LOCAL( FT_Error )
00085   pfr_slot_load( FT_GlyphSlot  slot,            /* PFR_Slot */
00086                  FT_Size       size,            /* PFR_Size */
00087                  FT_UInt       gindex,
00088                  FT_Int32      load_flags );
00089 
00090 
00091 FT_END_HEADER
00092 
00093 #endif /* __PFROBJS_H__ */
00094 
00095 
00096 /* END */

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