InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IWaxGlyphIterator.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Ric Kamicar
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //========================================================================================
23 
24 #ifndef __IWaxGlyphIterator__
25 #define __IWaxGlyphIterator__
26 
27 #include "CTextEnum.h"
28 
29 class PMMatrix;
30 class IWaxGlyphs;
31 class IWaxRun;
32 class PMPoint;
33 
34 #ifdef PUBLIC_BUILD
35 #endif
36 
60 {
61 public:
62  virtual ~IWaxGlyphIterator();
63 
67  virtual void Reset() = 0;
68 
79  virtual IWaxGlyphs* Advance() = 0;
80 
91  virtual IWaxGlyphs* Recede() = 0;
92 
99  virtual bool16 AdvanceToContainer(const IWaxGlyphs* waxGlyphs) = 0;
100 
111  virtual IWaxGlyphs* GetWaxGlyphsContainer() = 0;
112 
123  virtual IWaxRun* GetWaxRun() = 0;
124 
131  virtual void GetGlyphMatrix(PMMatrix * matrix, PMPoint * penCorrection) = 0;
132 
138  virtual void GetRunMatrix(PMMatrix * matrix) = 0;
139 
142  virtual Text::GlyphID GetGlyphID() const = 0;
143 
147  virtual uint32 GetGlyphOffset() const = 0;
148 
155  virtual TextIndex GetGlyphTextIndex() const = 0;
156 
161  virtual void SetPerGlyphMatrix(PMMatrix mat, PMPoint penCorrection) = 0;
162 };
163 
164 #endif