2000-11-28 20:56:52 +00:00
|
|
|
/*
|
|
|
|
* @(#)MarkArrays.h 1.5 00/03/15
|
|
|
|
*
|
2001-01-19 00:30:17 +00:00
|
|
|
* (C) Copyright IBM Corp. 1998, 1999, 2000, 2001 - All Rights Reserved
|
2000-11-28 20:56:52 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __MARKARRAYS_H
|
|
|
|
#define __MARKARRAYS_H
|
|
|
|
|
2003-01-13 23:15:11 +00:00
|
|
|
/**
|
|
|
|
* \file
|
|
|
|
* \internal
|
|
|
|
*/
|
|
|
|
|
2000-11-28 20:56:52 +00:00
|
|
|
#include "LETypes.h"
|
|
|
|
#include "LEFontInstance.h"
|
|
|
|
#include "OpenTypeTables.h"
|
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_BEGIN
|
|
|
|
|
2000-11-28 20:56:52 +00:00
|
|
|
struct MarkRecord
|
|
|
|
{
|
2002-04-02 03:41:50 +00:00
|
|
|
le_uint16 markClass;
|
|
|
|
Offset markAnchorTableOffset;
|
2000-11-28 20:56:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct MarkArray
|
|
|
|
{
|
2002-04-02 03:41:50 +00:00
|
|
|
le_uint16 markCount;
|
|
|
|
MarkRecord markRecordArray[ANY_NUMBER];
|
2000-11-28 20:56:52 +00:00
|
|
|
|
2000-12-21 01:18:44 +00:00
|
|
|
le_int32 getMarkClass(LEGlyphID glyphID, le_int32 coverageIndex, const LEFontInstance *fontInstance,
|
2001-01-19 00:30:17 +00:00
|
|
|
LEPoint &anchor) const;
|
2000-11-28 20:56:52 +00:00
|
|
|
};
|
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_END
|
2000-11-28 20:56:52 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|