3 * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
7 #ifndef __ANCHORTABLES_H
8 #define __ANCHORTABLES_H
16 #include "LEFontInstance.h"
17 #include "OpenTypeTables.h"
23 le_uint16 anchorFormat
;
27 void getAnchor(LEGlyphID glyphID
, const LEFontInstance
*fontInstance
,
28 LEPoint
&anchor
) const;
31 struct Format1AnchorTable
: AnchorTable
33 void getAnchor(const LEFontInstance
*fontInstance
, LEPoint
&anchor
) const;
36 struct Format2AnchorTable
: AnchorTable
38 le_uint16 anchorPoint
;
40 void getAnchor(LEGlyphID glyphID
, const LEFontInstance
*fontInstance
, LEPoint
&anchor
) const;
43 struct Format3AnchorTable
: AnchorTable
45 Offset xDeviceTableOffset
;
46 Offset yDeviceTableOffset
;
48 void getAnchor(const LEFontInstance
*fontInstance
, LEPoint
&anchor
) const;