![]() | InDesign SDK 20.5 |
#include <IWindowPort.h>

Public Member Functions | |
| virtual void | InvalRect (const PMRect &invalidRect)=0 |
| virtual void | ValidRect (const PMRect &goodRect)=0 |
| virtual void | InvalRgn (SysRgn invalidRgn)=0 |
| virtual void | ValidRgn (SysRgn goodRgn)=0 |
| virtual void | InvalAll ()=0 |
| virtual void | ValidAll ()=0 |
| virtual PMRect | GlobalToLocal (const PMRect &convertRect)=0 |
| virtual PMPoint | GlobalToLocal (const PMPoint &convertPoint)=0 |
| virtual PMRect | LocalToGlobal (const PMRect &convertRect)=0 |
| virtual PMPoint | LocalToGlobal (const PMPoint &convertPoint)=0 |
| virtual void | InvalRect (const SysRect &invalidRect)=0 |
| virtual void | ValidRect (const SysRect &goodRect)=0 |
| virtual SysRect | GlobalToLocal (const SysRect &convertRect)=0 |
| virtual SysPoint | GlobalToLocal (const SysPoint &convertPoint)=0 |
| virtual SysRect | LocalToGlobal (const SysRect &convertRect)=0 |
| virtual SysPoint | LocalToGlobal (const SysPoint &convertPoint)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
IWindowPort is a viewport interface which defines some generic operations which can be done to a window, or which require a window (ie, GlobalToLocal).
Note: This interface dates back to the beginning of Shuksan (it was called ICanvas originally), and should be re-examined.
Converts the specified rectangle from global (screen) coordinates to local (window) coordinates.
| convertRect | IN The rectangle (in global coordinates) to convert |
Converts the specified point from global (screen) coordinates to local (window) coordinates.
| convertPoint | IN The point (in global coordinates) to convert |
Converts the specified rectangle from global (screen) coordinates to local (window) coordinates.
| convertRect | IN The rectangle (in global coordinates) to convert |
Converts the specified point from global (screen) coordinates to local (window) coordinates.
| convertPoint | IN The point (in global coordinates) to convert |
| pure virtual |
Invalidates the entire window (ie., adds it to the system update region).
Note: Does not erase.
| pure virtual |
Invalidates the specified rectangular area of the window (ie., adds it to the system update region).
Note: Does not erase the specified rectangle.
| invalidRect | IN The rectangle to invalidate |
| pure virtual |
Invalidates the specified rectangular area of the window (ie., adds it to the system update region).
Note: Does not erase the specified rectangle.
| invalidRect | IN The rectangle to invalidate |
| pure virtual |
Invalidates the specified region of the window (ie., adds it to the system update region).
Note: Does not erase the specified region.
| invalidRgn | IN The region to invalidate |
Converts the specified rectangle from local (window) coordinates to global (screen) coordinates.
| convertRect | IN The rectangle (in local coordinates) to convert |
Converts the specified point from local (window) coordinates to global (screen) coordinates.
| convertPoint | IN The point (in local coordinates) to convert |
Converts the specified rectangle from local (window) coordinates to global (screen) coordinates.
| convertRect | IN The rectangle (in local coordinates) to convert |
Converts the specified point from local (window) coordinates to global (screen) coordinates.
| convertPoint | IN The point (in local coordinates) to convert |
| pure virtual |
Validates the entire window (ie., removes it from the system update region).
Note: Does not erase.
| pure virtual |
Validates the specified rectangular area of the window (ie. removes it from the system update region).
| goodRect | IN The rectangle to validate |
| pure virtual |
Validates the specified rectangular area of the window (ie. removes it from the system update region).
| goodRect | IN The rectangle to validate |
| pure virtual |
Validates the specified region of the window (ie., removes it from the system update region).
| goodRgn | IN The region to validate |