InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
PathHandleShape Class Reference
Inheritance diagram for PathHandleShape:
CHandleShapeIHandleShapeIPMUnknownBscShpPathHandleShape

Public Member Functions

 PathHandleShape (IPMUnknown *boss)
 
virtual void GetControlPointPathOutlineInfo (IOutlineInfo *iOutlineInfo)
 
virtual ITrackerQueryTracker (IControlView *layView, const PBPMPoint &where, int32 selectionMode, const PointSelector &index)
 
- Public Member Functions inherited from CHandleShape
 CHandleShape (IPMUnknown *boss)
 
virtual void DrawHandleShape (GraphicsData *gd, IConcreteSelection *concreteSelection, int32 shapeflags)
 
virtual void DrawControlPointPath (GraphicsData *gd, int32 shapeflags)
 
virtual bool16 HitTest (GraphicsData *gd, const PMRect &r, PointSelector *handleIndex, bool16 bDragging)
 
virtual bool16 HitTestControlPointPath (GraphicsData *gd, const PMRect &r)
 
virtual PMRect GetPaintedHandleBounds (const PMMatrix &theMatrix)
 
virtual void Inval (GraphicsData *gd, ClassID reasonForInval, int32 shapeflags)
 
virtual ITipQueryTip (const PointSelector *handleIndex)
 

Protected Member Functions

virtual void DrawHandlesImmediate (GraphicsData *gd, IConcreteSelection *concreteSelection, int32 flags)
 
virtual void DrawPathImmediate (GraphicsData *gd, int32 flags)
 
virtual PMRect GetBBoxImmediate (const PMMatrix &itoview)
 
virtual bool16 HitTestHandlesImmediate (GraphicsData *gd, const PMRect &r, PointSelector *handleIndex)
 
virtual bool16 HitTestPathImmediate (GraphicsData *gd, const PMRect &r)
 
virtual void CreateAnchorPaths (GraphicsData *gd, IConcreteSelection *concreteSelection)
 
virtual void CreateDirectionHandlePaths (GraphicsData *gd, IConcreteSelection *concreteSelection)
 
virtual void CreateSelectedAnchorPath (GraphicsData *gd, const PointSelector &selectedPoint, const PMReal &size)
 
virtual void CreateSelectedAnchorPointDot (GraphicsData *gd, const PointSelector &selectedPoint)
 
virtual void CreateAnchorPointPath (GraphicsData *gd, const PMPoint &pt, const PMReal &size)
 
virtual void CreateCenterAnchorPath (GraphicsData *gd, const PMReal &size)
 
virtual void CreateDirectionPointPath (GraphicsData *gd, const PMPoint &pt)
 
virtual void CreateControlPath (IGraphicsPort *gPort)
 
virtual bool16 VerifySelectedPoint (const PointSelector &selector) const
 
- Protected Member Functions inherited from CHandleShape
virtual void SetHandleColor (GraphicsData *gd, UID layerUID)
 
virtual bool16 HitTestOneHandle (GraphicsData *gd, const PMRect &r, const PMPoint &point, PMRect::PointIndex whichPoint) const
 
virtual void TextFrameHandlesPath (GraphicsData *gd, int32 textflags, const PMPoint &pt1, const PMPoint &pt2)
 
virtual void DrawTextFrameHandles (GraphicsData *gd, int32 shapeflags, int32 textflags)
 
virtual bool16 HitTestTextFrameHandles (GraphicsData *gd, const PMRect &r, PointSelector *handleIndex, int32 textflags)
 
virtual void AddTextFrameHandleWidth (const PMMatrix &theMatrix, PMRect *itemBounds) const
 
virtual ITrackerQueryTextFrameTracker (IControlView *layView, const PBPMPoint &where, int32 selectionMode, const PointSelector &index)
 
bool16 HandlesDisabled (GraphicsData *gd, int32 shapeflags)
 
bool16 HasContent ()
 
void DrawAdornments (IAdornmentHandleShape::AdornmentDrawOrder drawOrder, GraphicsData *gd, IConcreteSelection *concreteSelection, int32 flags)
 
void DrawAdornmentControlPointPath (IAdornmentHandleShape::AdornmentDrawOrder drawOrder, GraphicsData *gd, int32 flags)
 
bool16 HitTestAdornment (IAdornmentHandleShape::AdornmentDrawOrder drawOrder, GraphicsData *gd, const PMRect &r, PointSelector *handleIndex, bool16 bDragging)
 
bool16 HitTestAdornmentControlPointPath (IAdornmentHandleShape::AdornmentDrawOrder drawOrder, GraphicsData *gd, const PMRect &r)
 
void GetPaintedAdornmentBounds (IAdornmentHandleShape::AdornmentDrawOrder drawOrder, const PMMatrix &pbtoview, PMRect *handleRect)
 
ITrackerQueryAdornmentTracker (IAdornmentHandleShape::AdornmentDrawOrder drawOrder, IControlView *layView, const PBPMPoint &where, int32 selectionMode, const PointSelector &index)
 

Protected Attributes

IPathGeometryfPathGeometry
 
- Protected Attributes inherited from CHandleShape
IGeometryfGeometry
 
IPageItemAdornmentListfAdornmentList
 
PMReal fHandleRed
 
PMReal fHandleGreen
 
PMReal fHandleBlue
 

Member Function Documentation

virtual void PathHandleShape::GetControlPointPathOutlineInfo (IOutlineInfoiOutlineInfo)
virtual

Get the path information of item's control points.

Parameters
iOutlineInfothe out parameter with the control point path.
Returns
void.

Reimplemented from CHandleShape.

virtual ITracker* PathHandleShape::QueryTracker (IControlViewlayView,
const PBPMPointwhere,
int32 selectionMode,
const PointSelectorindex 
)
virtual

Query the tracker based on the given mouse position, hit test mode and selection handle index.

Parameters
layViewthe active layout view where mouse is on.
wherethe mouse position based on pasteboard coordinate.
selectionModethe hit test flags.
indexspecifies the index of selection handle.
Returns
ITracker* the result tracker and caller should deference it.

Reimplemented from CHandleShape.