InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IWindowPort.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: jack_kirstein
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 __IWINDOWPORT__
25 #define __IWINDOWPORT__
26 #include "PMRect.h"
27 
37 class IWindowPort : public IPMUnknown
38 {
39  public:
48  virtual void InvalRect(const PMRect& invalidRect) = 0;
49 
56  virtual void ValidRect(const PMRect& goodRect) = 0;
57 
66  virtual void InvalRgn(SysRgn invalidRgn) = 0;
67 
74  virtual void ValidRgn(SysRgn goodRgn) = 0;
75 
82  virtual void InvalAll() = 0;
83 
90  virtual void ValidAll() = 0;
91 
99  virtual PMRect GlobalToLocal(const PMRect& convertRect) = 0;
100 
108  virtual PMPoint GlobalToLocal(const PMPoint& convertPoint) = 0;
109 
117  virtual PMRect LocalToGlobal(const PMRect& convertRect) = 0;
118 
126  virtual PMPoint LocalToGlobal(const PMPoint& convertPoint) = 0;
127 
136  virtual void InvalRect(const SysRect& invalidRect) = 0;
137 
144  virtual void ValidRect(const SysRect& goodRect) = 0;
145 
153  virtual SysRect GlobalToLocal(const SysRect& convertRect) = 0;
154 
162  virtual SysPoint GlobalToLocal(const SysPoint& convertPoint) = 0;
163 
171  virtual SysRect LocalToGlobal(const SysRect& convertRect) = 0;
172 
180  virtual SysPoint LocalToGlobal(const SysPoint& convertPoint) = 0;
181 };
182 
183 #endif