InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IDrawCJKGrid.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Heath Lynn
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 __IDrawCJKGrid__
25 #define __IDrawCJKGrid__
26 
27 #include "IPMUnknown.h"
28 #include "ICJKGridData.h"
29 #include "IShape.h"
30 #include "IAdornmentShape.h"
31 
32 class GraphicsData;
33 class PMRect;
34 class ICJKGridManager;
35 
38 class IDrawCJKGrid : public IPMUnknown
39 {
40 
41 public:
42 
60  virtual void Draw( const IPMUnknown * shape,
61  const ICJKGridData* gridData,
62  const ICJKGridManager* gridManager,
63  const PMReal & lineWidth,
64  const GraphicsData* gd,
65  const int32 flags ) = 0;
66 
73  virtual PMRect GetPaintedBBox( const IShape* iShape, const PMRect& itemBounds, const PMMatrix& innertoview) const = 0;
74 
75 
76 
88  virtual void Inval( IShape* iShape,
89  const GraphicsData* gd,
90  const ClassID reasonForInval,
91  const int32 flags ) const = 0;
92 
101  virtual void DrawOpenCell(const PMRect & rect, int32 & position ) const = 0;
102 
111  virtual void DrawFilledCell(const PMRect & rect, int32 & position ) const = 0;
112 
117  virtual void EndDraw( int32 & position ) const = 0;
118 
119 
120 };
121 
122 #endif