421a4ee31b
X-SVN-Rev: 3439
33 lines
1011 B
C++
33 lines
1011 B
C++
/*
|
|
* @(#)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"
|
|
|
|
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));
|
|
}
|
|
|