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

Public Types | |
| enum | { kDefaultIID = IID_IREFPOINTSHAPE } |
| enum | { kSize = 13 } |
Public Member Functions | |
| virtual void | Path (IGraphicsPort *gPort, const PBPMPoint ¢er)=0 |
| virtual void | Draw (IGraphicsContext *gc, const PMPoint ¢er)=0 |
| virtual void | Invalidate (IGraphicsContext *gc, const PMPoint ¢er, bool16 forceInval=kFalse)=0 |
| virtual PMRect | GetBounds (IGraphicsContext *gc, const PMPoint ¢er)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Interface class that handles drawing the actual reference point shape on the screen. In general, these methods are only used internally since the management of the reference point is handled via higher-level calls.
| anonymous enum |
| pure virtual |
Description
| gc | [IN] IGraphicsContext pointer for drawing. |
| center | [IN] the point in pasteboard coordinates to center the reference point drawing on. |
| pure virtual |
Return the bounds of the reference point shape.
| gc | [IN] IGraphicsContext pointer for drawing. |
| center | [IN] the point in pasteboard coordinates of the middle of reference point shape. |
| pure virtual |
Invalidate the area of the screen where the reference point shape is.
| gc | [IN] IGraphicsContext pointer for drawing. |
| center | [IN] the point in pasteboard coordinates to center the reference point invalidation on. |
| forceInval,kTrue | to force the invalidation even if the reference point is hidden, kFalse to only invalidate when shown. |
| pure virtual |
Method that does the actual drawing of the reference point shape.
| gPort | [IN] the port to draw into. |
| center | [IN] the point in pasteboard coordinates to center the reference point drawing on. |