00001 /* 00002 * @(#)AttachmentPositioningSubtables.h 1.6 00/03/15 00003 * 00004 * (C) Copyright IBM Corp. 1998, 1999, 2000 - All Rights Reserved 00005 * 00006 */ 00007 00008 #ifndef __ATTACHMENTPOSITIONINGSUBTABLES_H 00009 #define __ATTACHMENTPOSITIONINGSUBTABLES_H 00010 00011 #include "LETypes.h" 00012 #include "OpenTypeTables.h" 00013 #include "GlyphPositioningTables.h" 00014 #include "ValueRecords.h" 00015 #include "GlyphIterator.h" 00016 00017 struct AttachmentPositioningSubtable : GlyphPositioningSubtable 00018 { 00019 Offset baseCoverageTableOffset; 00020 le_uint16 classCount; 00021 Offset markArrayOffset; 00022 Offset baseArrayOffset; 00023 00024 le_int32 getBaseCoverage(LEGlyphID baseGlyphId); 00025 le_uint32 process(GlyphIterator *glyphIterator); 00026 }; 00027 00028 inline le_int32 AttachmentPositioningSubtable::getBaseCoverage(LEGlyphID baseGlyphID) 00029 { 00030 return getGlyphCoverage(baseCoverageTableOffset, baseGlyphID); 00031 } 00032 00033 #endif 00034