scuffed-code/icu4c/source/layout/CursiveAttachmentSubtables.h
Steven R. Loomis f2fbc8c394 ICU-10107 LayoutEngine improvements
X-SVN-Rev: 33535
2013-04-18 21:24:51 +00:00

43 lines
810 B
C++

/*
*
* (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved
*
*/
#ifndef __CURSIVEATTACHMENTSUBTABLES_H
#define __CURSIVEATTACHMENTSUBTABLES_H
/**
* \file
* \internal
*/
#include "LETypes.h"
#include "OpenTypeTables.h"
#include "GlyphPositioningTables.h"
U_NAMESPACE_BEGIN
class LEFontInstance;
class GlyphIterator;
struct EntryExitRecord
{
Offset entryAnchor;
Offset exitAnchor;
};
struct CursiveAttachmentSubtable : GlyphPositioningSubtable
{
le_uint16 entryExitCount;
EntryExitRecord entryExitRecords[ANY_NUMBER];
le_uint32 process(const LEReferenceTo<CursiveAttachmentSubtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &success) const;
};
LE_VAR_ARRAY(CursiveAttachmentSubtable, entryExitRecords)
U_NAMESPACE_END
#endif