2000-11-28 20:56:52 +00:00
|
|
|
/*
|
|
|
|
*
|
2005-02-26 00:40:09 +00:00
|
|
|
* (C) Copyright IBM Corp. 1998-2005 - All Rights Reserved
|
2000-11-28 20:56:52 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ATTACHMENTPOSITIONINGSUBTABLES_H
|
|
|
|
#define __ATTACHMENTPOSITIONINGSUBTABLES_H
|
|
|
|
|
2003-01-13 23:15:11 +00:00
|
|
|
/**
|
|
|
|
* \file
|
|
|
|
* \internal
|
|
|
|
*/
|
|
|
|
|
2000-11-28 20:56:52 +00:00
|
|
|
#include "LETypes.h"
|
|
|
|
#include "OpenTypeTables.h"
|
|
|
|
#include "GlyphPositioningTables.h"
|
|
|
|
#include "ValueRecords.h"
|
|
|
|
#include "GlyphIterator.h"
|
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_BEGIN
|
|
|
|
|
2000-11-28 20:56:52 +00:00
|
|
|
struct AttachmentPositioningSubtable : GlyphPositioningSubtable
|
|
|
|
{
|
|
|
|
Offset baseCoverageTableOffset;
|
|
|
|
le_uint16 classCount;
|
|
|
|
Offset markArrayOffset;
|
|
|
|
Offset baseArrayOffset;
|
|
|
|
|
2005-02-26 00:40:09 +00:00
|
|
|
inline le_int32 getBaseCoverage(LEGlyphID baseGlyphId) const;
|
|
|
|
|
2001-01-19 00:30:17 +00:00
|
|
|
le_uint32 process(GlyphIterator *glyphIterator) const;
|
2000-11-28 20:56:52 +00:00
|
|
|
};
|
|
|
|
|
2001-01-19 00:30:17 +00:00
|
|
|
inline le_int32 AttachmentPositioningSubtable::getBaseCoverage(LEGlyphID baseGlyphID) const
|
2000-11-28 20:56:52 +00:00
|
|
|
{
|
|
|
|
return getGlyphCoverage(baseCoverageTableOffset, baseGlyphID);
|
|
|
|
}
|
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_END
|
2000-11-28 20:56:52 +00:00
|
|
|
#endif
|
|
|
|
|