InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IWaxGlyphsME Class Referenceabstract

#include <IWaxGlyphsME.h>

Inheritance diagram for IWaxGlyphsME:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IWAXGLYPHSME }
 

Public Member Functions

virtual void AddGlyphMEData (int32 num, const float *xOffsets, const float *yOffsets, const float *width, int32 lineGlyphOffset=-1, int32 lineTextOffset=-1)=0
 
virtual float GetXOffsetAt (int32 glyphIndex) const =0
 
virtual void SetXOffsetAt (int32 glyphIndex, float xOffset)=0
 
virtual float GetYOffsetAt (int32 glyphIndex) const =0
 
virtual void SetYOffsetAt (int32 glyphIndex, float yOffset)=0
 
virtual float GetLeftOffsetAt (int32 glyphIndex) const =0
 
virtual void SetLeftOffsetAt (int32 glyphIndex, float offset)=0
 
virtual const float * PeekDiacXOffsetArray () const =0
 
virtual const float * PeekDiacYOffsetArray () const =0
 
virtual const float * PeekLeftOffsetArray () const =0
 
virtual int32 GetLineGlyphOffset () const =0
 
virtual int32 GetLineTextOffset () const =0
 
virtual const
TEInputOutputMapping
GetLog () const =0
 
virtual bool GetIsTabLeaderRun () const =0
 
virtual void SetIsTabLeaderRun (bool tabLeaderRun)=0
 
virtual bool16 SplitInto (IWaxGlyphsME *other, int32 glyphOffsetInRun)=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

Interface for working with complex-script specific glyph data. This information is provided only for text composed with a complex-script composer. It provides additional layout information that is critical for the correct placement of marks & diacritics, especially in right-to-left writing scripts.

See Also
IWaxGlyphs

Member Function Documentation

virtual void IWaxGlyphsME::AddGlyphMEData (int32 num,
const float * xOffsets,
const float * yOffsets,
const float * width,
int32 lineGlyphOffset = -1,
int32 lineTextOffset = -1 
)
pure virtual
provide the complex layout metrics for this run of glyphs

Parameters
numis the number of glyphs
xOffsets
yOffsets
width
lineGlyphOffset
lineTextOffset
virtual bool IWaxGlyphsME::GetIsTabLeaderRun () const
pure virtual
GetIsTabLeaderRun.

Returns
if this run is a tab leader run.
virtual float IWaxGlyphsME::GetLeftOffsetAt (int32 glyphIndex) const
pure virtual
get left offset for an index.

Parameters
glyphIndex
Returns
left offset for the glyph
virtual int32 IWaxGlyphsME::GetLineGlyphOffset () const
pure virtual
get the difference between this run's first glyph and the line's first glyph.

Returns
line glyph offset.
virtual int32 IWaxGlyphsME::GetLineTextOffset () const
pure virtual
get the difference between this run's first character and the line's first character.

Returns
line text offset.
virtual const TEInputOutputMapping* IWaxGlyphsME::GetLog () const
pure virtual
GetLog().

Returns
the character - glyph mapping.
virtual float IWaxGlyphsME::GetXOffsetAt (int32 glyphIndex) const
pure virtual
get xoffset for an index.

Parameters
glyphIndex
Returns
x offset for the glyph
virtual float IWaxGlyphsME::GetYOffsetAt (int32 glyphIndex) const
pure virtual
get yoffset for an index.

Parameters
glyphIndex
Returns
y offset for the glyph
virtual const float* IWaxGlyphsME::PeekDiacXOffsetArray () const
pure virtual
get the diacritical marks x-offset buffer.

@ return the x-offset buffer.

virtual const float* IWaxGlyphsME::PeekDiacYOffsetArray () const
pure virtual
get the diacritical marks y-offset buffer.

@ return the y-offset buffer.

virtual const float* IWaxGlyphsME::PeekLeftOffsetArray () const
pure virtual
get the diacritical marks left-offset buffer.

@ return the left-offset buffer.

virtual void IWaxGlyphsME::SetIsTabLeaderRun (bool tabLeaderRun)
pure virtual
SetIsTabLeaderRun. Not to be called outside of composition.

Parameters
tabLeaderRunspecifies if this run is a tab leader run.
virtual void IWaxGlyphsME::SetLeftOffsetAt (int32 glyphIndex,
float offset 
)
pure virtual
set left offset for an index.

Parameters
glyphIndex
offsetis the left offset for the glyph
virtual void IWaxGlyphsME::SetXOffsetAt (int32 glyphIndex,
float xOffset 
)
pure virtual
set xoffset for an index.

Parameters
glyphIndex
xOffsetfor the glyph
virtual void IWaxGlyphsME::SetYOffsetAt (int32 glyphIndex,
float yOffset 
)
pure virtual
set yoffset for an index.

Parameters
glyphIndex
yOffsetfor the glyph
virtual bool16 IWaxGlyphsME::SplitInto (IWaxGlyphsMEother,
int32 glyphOffsetInRun 
)
pure virtual

Split this set of glyphs into two, the first sub-set (up, not including charOffsetInRun) remains in this object, the latter in the given object.