]>
git.saurik.com Git - wxWidgets.git/blob - src/freetype/cff/t2objs.h
1 /***************************************************************************/
5 /* OpenType objects manager (specification). */
7 /* Copyright 1996-2000 by */
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
10 /* This file is part of the FreeType project, and may only be used, */
11 /* modified, and distributed under the terms of the FreeType project */
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 /* this file you indicate that you have read the license and */
14 /* understand and accept it fully. */
16 /***************************************************************************/
23 #include <freetype/internal/ftobjs.h>
24 #include <freetype/internal/t2types.h>
25 #include <freetype/internal/t2errors.h>
26 #include <freetype/internal/psnames.h>
33 /*************************************************************************/
39 /* A handle to an OpenType driver object. */
41 typedef struct T2_DriverRec_
* T2_Driver
;
43 typedef TT_Face T2_Face
;
46 /*************************************************************************/
52 /* A handle to an OpenType size object. */
54 typedef FT_Size T2_Size
;
57 /*************************************************************************/
63 /* A handle to an OpenType glyph slot object. */
65 typedef struct T2_GlyphSlotRec_
75 } T2_GlyphSlotRec
, *T2_GlyphSlot
;
79 /*************************************************************************/
81 /* Subglyph transformation record. */
83 typedef struct T2_Transform_
85 FT_Fixed xx
, xy
; /* transformation matrix coefficients */
87 FT_F26Dot6 ox
, oy
; /* offsets */
92 /* this is only used in the case of a pure CFF font with no charmap */
93 typedef struct T2_CharMapRec_
98 } T2_CharMapRec
, *T2_CharMap
;
101 /***********************************************************************/
103 /* TrueType driver class. */
105 typedef struct T2_DriverRec_
109 void* extension_component
;
114 /*************************************************************************/
119 FT_Error
T2_Init_Face( FT_Stream stream
,
123 FT_Parameter
* params
);
126 void T2_Done_Face( T2_Face face
);
129 /*************************************************************************/
131 /* Driver functions */
134 FT_Error
T2_Init_Driver( T2_Driver driver
);
137 void T2_Done_Driver( T2_Driver driver
);
145 #endif /* T2OBJS_H */