]> git.saurik.com Git - apple/icu.git/blame - icuSources/layout/GlyphDefinitionTables.cpp
ICU-491.11.1.tar.gz
[apple/icu.git] / icuSources / layout / GlyphDefinitionTables.cpp
CommitLineData
b75a7d8f 1/*
b75a7d8f 2 *
374ca955 3 * (C) Copyright IBM Corp. 1998 - 2004 - All Rights Reserved
b75a7d8f
A
4 *
5 */
6
7#include "LETypes.h"
8#include "OpenTypeTables.h"
9#include "GlyphDefinitionTables.h"
10#include "LESwaps.h"
11
12U_NAMESPACE_BEGIN
13
14const GlyphClassDefinitionTable *GlyphDefinitionTableHeader::getGlyphClassDefinitionTable() const
15{
16 return (const GlyphClassDefinitionTable *) ((char *) this + SWAPW(glyphClassDefOffset));
17}
18
19const AttachmentListTable *GlyphDefinitionTableHeader::getAttachmentListTable() const
20{
21 return (const AttachmentListTable *) ((char *) this + SWAPW(attachListOffset));
22}
23
24const LigatureCaretListTable *GlyphDefinitionTableHeader::getLigatureCaretListTable() const
25{
26 return (const LigatureCaretListTable *) ((char *) this + SWAPW(ligCaretListOffset));
27}
28
29const MarkAttachClassDefinitionTable *GlyphDefinitionTableHeader::getMarkAttachClassDefinitionTable() const
30{
31 return (const MarkAttachClassDefinitionTable *) ((char *) this + SWAPW(MarkAttachClassDefOffset));
32}
33
34U_NAMESPACE_END