Home | History | Annotate | Download | only in layout
      1 /*
      2  *
      3  * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
      4  *
      5  */
      6 
      7 #ifndef __MARKARRAYS_H
      8 #define __MARKARRAYS_H
      9 
     10 /**
     11  * \file
     12  * \internal
     13  */
     14 
     15 #include "LETypes.h"
     16 #include "LEFontInstance.h"
     17 #include "OpenTypeTables.h"
     18 
     19 U_NAMESPACE_BEGIN
     20 
     21 struct MarkRecord
     22 {
     23     le_uint16   markClass;
     24     Offset      markAnchorTableOffset;
     25 };
     26 
     27 struct MarkArray
     28 {
     29     le_uint16   markCount;
     30     MarkRecord  markRecordArray[ANY_NUMBER];
     31 
     32     le_int32 getMarkClass(LEGlyphID glyphID, le_int32 coverageIndex, const LEFontInstance *fontInstance,
     33         LEPoint &anchor) const;
     34 };
     35 
     36 U_NAMESPACE_END
     37 #endif
     38 
     39 
     40