Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygent42objs.h
Go to the documentation of this file.
00001 /***************************************************************************/ 00002 /* */ 00003 /* t42objs.h */ 00004 /* */ 00005 /* Type 42 objects manager (specification). */ 00006 /* */ 00007 /* Copyright 2002, 2003, 2006, 2007 by Roberto Alameda. */ 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 00018 #ifndef __T42OBJS_H__ 00019 #define __T42OBJS_H__ 00020 00021 #include <ft2build.h> 00022 #include FT_FREETYPE_H 00023 #include FT_TYPE1_TABLES_H 00024 #include FT_INTERNAL_TYPE1_TYPES_H 00025 #include "t42types.h" 00026 #include FT_INTERNAL_OBJECTS_H 00027 #include FT_INTERNAL_DRIVER_H 00028 #include FT_SERVICE_POSTSCRIPT_CMAPS_H 00029 #include FT_INTERNAL_POSTSCRIPT_HINTS_H 00030 00031 00032 FT_BEGIN_HEADER 00033 00034 00035 /* Type42 size */ 00036 typedef struct T42_SizeRec_ 00037 { 00038 FT_SizeRec root; 00039 FT_Size ttsize; 00040 00041 } T42_SizeRec, *T42_Size; 00042 00043 00044 /* Type42 slot */ 00045 typedef struct T42_GlyphSlotRec_ 00046 { 00047 FT_GlyphSlotRec root; 00048 FT_GlyphSlot ttslot; 00049 00050 } T42_GlyphSlotRec, *T42_GlyphSlot; 00051 00052 00053 /* Type 42 driver */ 00054 typedef struct T42_DriverRec_ 00055 { 00056 FT_DriverRec root; 00057 FT_Driver_Class ttclazz; 00058 void* extension_component; 00059 00060 } T42_DriverRec, *T42_Driver; 00061 00062 00063 /* */ 00064 00065 00066 FT_LOCAL( FT_Error ) 00067 T42_Face_Init( FT_Stream stream, 00068 T42_Face face, 00069 FT_Int face_index, 00070 FT_Int num_params, 00071 FT_Parameter* params ); 00072 00073 00074 FT_LOCAL( void ) 00075 T42_Face_Done( T42_Face face ); 00076 00077 00078 FT_LOCAL( FT_Error ) 00079 T42_Size_Init( T42_Size size ); 00080 00081 00082 FT_LOCAL( FT_Error ) 00083 T42_Size_Request( T42_Size size, 00084 FT_Size_Request req ); 00085 00086 00087 FT_LOCAL( FT_Error ) 00088 T42_Size_Select( T42_Size size, 00089 FT_ULong strike_index ); 00090 00091 00092 FT_LOCAL( void ) 00093 T42_Size_Done( T42_Size size ); 00094 00095 00096 FT_LOCAL( FT_Error ) 00097 T42_GlyphSlot_Init( T42_GlyphSlot slot ); 00098 00099 00100 FT_LOCAL( FT_Error ) 00101 T42_GlyphSlot_Load( FT_GlyphSlot glyph, 00102 FT_Size size, 00103 FT_UInt glyph_index, 00104 FT_Int32 load_flags ); 00105 00106 FT_LOCAL( void ) 00107 T42_GlyphSlot_Done( T42_GlyphSlot slot ); 00108 00109 00110 FT_LOCAL( FT_Error ) 00111 T42_Driver_Init( T42_Driver driver ); 00112 00113 FT_LOCAL( void ) 00114 T42_Driver_Done( T42_Driver driver ); 00115 00116 /* */ 00117 00118 FT_END_HEADER 00119 00120 00121 #endif /* __T42OBJS_H__ */ 00122 00123 00124 /* END */ Generated on Sat May 26 2012 04:32:59 for ReactOS by
1.7.6.1
|