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

Public Member Functions | |
| virtual void | DrawHandleShape (GraphicsData *gd, IConcreteSelection *concreteSelection, int32 flags=0)=0 |
| virtual void | DrawControlPointPath (GraphicsData *gd, int32 flags=0)=0 |
| virtual bool16 | HitTest (GraphicsData *gd, const PMRect &r, PointSelector *handleIndex, bool16 bDragging=kFalse)=0 |
| virtual bool16 | HitTestControlPointPath (GraphicsData *gd, const PMRect &r)=0 |
| virtual void | GetControlPointPathOutlineInfo (IOutlineInfo *iOutlineInfo)=0 |
| virtual PMRect | GetPaintedHandleBounds (const PMMatrix &pbtoview)=0 |
| virtual void | Inval (GraphicsData *gd, ClassID reasonForInval=0, int32 flags=0)=0 |
| virtual ITracker * | QueryTracker (IControlView *layView, const PBPMPoint &where, int32 selectionMode, const PointSelector &index)=0 |
| virtual ITip * | QueryTip (const PointSelector *handleIndex)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
This interface is ONLY for drawing, inval and hit testing of selection handles. It is NOT a persistant interface and should have no duties other than those mentioned.
| pure virtual |
Draw the path based on item's control points.
| gd | the graphics context used for drawing. |
| flags | default as kNoFlags and serves as a drawing flag. |
Implemented in CHandleShape.
| pure virtual |
Draw the selection handle of item.
| gd | the graphics context used for drawing. |
| concretSelection | the selection boss. |
| flags | default as kNoFlags and serves as a drawing flag. |
Implemented in CHandleShape.
| pure virtual |
Get the path information of item's control points.
| iOutlineInfo | the out parameter with the control point path. |
Implemented in CHandleShape, and PathHandleShape.
Get the bounding box by computing it in pasteboard coords and then transforming it by pbtoview.
| pbtoview | the matrix to transform the bounds based on pasteboard coordinates. |
Implemented in BscShpPathHandleShape, and CHandleShape.
| pure virtual |
Check if a particular handle of the item has been hit or not within the specified area.
| gd | the graphics context used for hit testing. |
| r | the area for checking hit test. |
| handleIndex | the index of selection handle. |
| bDragging | the flag indicating if hit test if during dragging or not. |
Implemented in CHandleShape.
| pure virtual |
Check if the control point path has been hit or not.
| gd | the graphics context used for hit testing. |
| r | the area for checking hit test. |
Implemented in CHandleShape.
| pure virtual |
Invalidate the appropriate region of the object in the graphics context.
| gd | the graphics context used for invalidation. |
| reasonForInval | the ClassID defined for inval reason for handling different inval cases. |
| flags | default as kNoFlags and serves as a drawing flag. |
Implemented in CHandleShape.
| pure virtual |
Query for any tip implemented on the shape. If there is any tip on the shape then the ITip interfacePtr will be returned else nil is returned in the default implementation
| handleIndex | the index of the handle for the shape |
Implemented in CHandleShape.
| pure virtual |
Query the tracker based on the given mouse position, hit test mode and selection handle index.
| layView | the active layout view where mouse is on. |
| where | the mouse position based on pasteboard coordinate. |
| selectionMode | the hit test flags. |
| index | specifies the index of selection handle. |
Implemented in CHandleShape, and PathHandleShape.