scuffed-code/icu4c/source/layout/GlyphDefinitionTables.cpp

36 lines
1.0 KiB
C++
Raw Normal View History

/*
* @(#)GlyphDefinitionTables.cpp 1.5 00/03/15
*
* (C) Copyright IBM Corp. 1998, 1999, 2000, 2001 - All Rights Reserved
*
*/
#include "LETypes.h"
#include "OpenTypeTables.h"
#include "GlyphDefinitionTables.h"
#include "LESwaps.h"
U_NAMESPACE_BEGIN
const GlyphClassDefinitionTable *GlyphDefinitionTableHeader::getGlyphClassDefinitionTable() const
{
return (const GlyphClassDefinitionTable *) ((char *) this + SWAPW(glyphClassDefOffset));
}
const AttachmentListTable *GlyphDefinitionTableHeader::getAttachmentListTable() const
{
return (const AttachmentListTable *) ((char *) this + SWAPW(attachListOffset));
}
const LigatureCaretListTable *GlyphDefinitionTableHeader::getLigatureCaretListTable() const
{
return (const LigatureCaretListTable *) ((char *) this + SWAPW(ligCaretListOffset));
}
const MarkAttachClassDefinitionTable *GlyphDefinitionTableHeader::getMarkAttachClassDefinitionTable() const
{
return (const MarkAttachClassDefinitionTable *) ((char *) this + SWAPW(MarkAttachClassDefOffset));
}
U_NAMESPACE_END