Home | History | Annotate | Download | only in layout
      1 /*
      2  *
      3  * (C) Copyright IBM Corp. 1998 - 2004 - All Rights Reserved
      4  *
      5  */
      6 
      7 #include "LETypes.h"
      8 #include "OpenTypeTables.h"
      9 #include "GlyphDefinitionTables.h"
     10 #include "LESwaps.h"
     11 
     12 U_NAMESPACE_BEGIN
     13 
     14 const GlyphClassDefinitionTable *GlyphDefinitionTableHeader::getGlyphClassDefinitionTable() const
     15 {
     16     return (const GlyphClassDefinitionTable *) ((char *) this + SWAPW(glyphClassDefOffset));
     17 }
     18 
     19 const AttachmentListTable *GlyphDefinitionTableHeader::getAttachmentListTable() const
     20 {
     21     return (const AttachmentListTable *) ((char *) this + SWAPW(attachListOffset));
     22 }
     23 
     24 const LigatureCaretListTable *GlyphDefinitionTableHeader::getLigatureCaretListTable() const
     25 {
     26     return (const LigatureCaretListTable *) ((char *) this + SWAPW(ligCaretListOffset));
     27 }
     28 
     29 const MarkAttachClassDefinitionTable *GlyphDefinitionTableHeader::getMarkAttachClassDefinitionTable() const
     30 {
     31     return (const MarkAttachClassDefinitionTable *) ((char *) this + SWAPW(MarkAttachClassDefOffset));
     32 }
     33 
     34 U_NAMESPACE_END
     35