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

#include <IKerningOnTheFly.h>

Inheritance diagram for IKerningOnTheFly:
IPMUnknown

Public Member Functions

virtual PMReal LeftSideKerning (IkfStyle *style, const PMReal &bodySize, Text::GlyphID g)=0
 
virtual PMReal RightSideKerning (IkfStyle *style, const PMReal &bodySize, Text::GlyphID g)=0
 
virtual bool16 SingleStyleKerns (IkfStyle *style, const Text::GlyphID *glyphs, PMReal *xkerns, PMReal *yKerns, int32 bufSize)=0
 
virtual bool16 SingleStyleKerns (IkfStyle *style, PMRealGlyphPoint *strikes, int32 bufSize, double xScale=1.0)=0
 
virtual bool16 SingleStyleKern (IkfStyle *style, Text::GlyphID g1, Text::GlyphID g2, PMReal *xk, PMReal *yk)=0
 
virtual bool16 MultiStyleKern (IkfStyle *style1, Text::GlyphID g1, IkfStyle *style2, Text::GlyphID g2, PMReal *xk, PMReal *yk)=0
 
virtual PMReal GetParStyleSize ()=0
 
virtual void SetParStyle (const IDrawingStyle *parStyle)=0
 
virtual IkfStyleGetkfStyle (const IDrawingStyle *style)=0
 
virtual void EmptyCache ()=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

This holds all general information for kf "kerning on the fly" to store and calculate kerning values

Member Function Documentation

virtual PMReal IKerningOnTheFly::LeftSideKerning (IkfStylestyle,
const PMRealbodySize,
Text::GlyphID g 
)
pure virtual

Gets kerning value for the left side of a glyph.

Parameters
*stylestyle for kerning
bodySizewas int32 in InDesign 2.01.
gGlyph to get kerning value for
Returns
PMReal Kerning value
virtual PMReal IKerningOnTheFly::RightSideKerning (IkfStylestyle,
const PMRealbodySize,
Text::GlyphID g 
)
pure virtual

Gets kerning value for the right side of a glyph.

Parameters
*stylestyle for kerning
bodySizewas int32 in InDesign 2.01.
gGlyph to get kerning value for
Returns
PMReal Kerning value