24 #ifndef __IWaxGlyphs__ 25 #define __IWaxGlyphs__ 27 #include "IPMUnknown.h" 28 #include "CTextEnum.h" 87 enum { kDefaultIID = IID_IWAXGLYPHS };
109 virtual bool16
IsMapped()
const = 0;
126 virtual PMReal GetWidth(bool16 ignoreAllTrailing = kFalse)
const = 0;
158 virtual void MapCharsToGlyphs(int32 offset, int32 length, int32* pRangeStart, int32* pRangeLength)
const = 0;
163 virtual void MapGlyphsToChars(int32 rangeStart, int32 rangeLength, int32* pOffset, int32* pLength)
const = 0;
171 virtual Text::GlyphID
GetGlyphAt(int32 glyphIndex)
const = 0;
230 virtual void AddGlyph(Text::GlyphID glyph,
float width,
float glyphXOffset = 0) = 0;
236 virtual void ReplaceGlyphAt(int32 glyphIndex, Text::GlyphID glyph) = 0;
241 virtual void AddGlyphs(
const Text::GlyphID* glyphs,
const float* widths, int32 count,
const float* glyphXOffsets = nil) = 0;
260 virtual void AddMappingRange(int32 offset, int32 rangeStart, int32 rangeLength) = 0;
265 virtual void AdjustWidthAt(int32 glyphIndex,
float deltaWidth,
float glyphOffset = 0) = 0;