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

Public Member Functions

 BscShpPathHandleShape (IPMUnknown *boss)
 
virtual PMRect GetPaintedHandleBounds (const PMMatrix &pbtoview)
 
- Public Member Functions inherited from PathHandleShape
 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 void Inval (GraphicsData *gd, ClassID reasonForInval, int32 shapeflags)
 
virtual ITipQueryTip (const PointSelector *handleIndex)
 

Additional Inherited Members

- Protected Member Functions inherited from PathHandleShape
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 Attributes inherited from PathHandleShape
IPathGeometryfPathGeometry
 

Detailed Description

BscShpPathHandleShape Responsible for drawing selection handles and path for objects with a clipping path.

This override is necessary because Utils<IPathUtils>()->QueryHandleShape() may preferentially query for the IPathHandleShape interface instead of IHandleShape. (This happens when an item has a clipping path.) In that case, we want to be sure and return a bounding box that includes the selection handle dimensions. The default implementation for a spline item doesn't – it assumes standard selection handles. For non-standard handles, this causes redraw problems.

BscShpPathHandleShape implements IPathHandleShape based on the partial implementation PathHandleShape2.

Constructor & Destructor Documentation

Binds the C implementation class onto its ImplementationID making the C code callable by the application * BscShpPathHandleShape::BscShpPathHandleShape (IPMUnknownboss)

Constructor.

Parameters
bossinterface ptr from boss object on which this interface is aggregated.

Member Function Documentation

PMRect BscShpPathHandleShape::GetPaintedHandleBounds (const PMMatrixpbtoview)
virtual

Responsible for returning the bounding box of the page item including the selection handles.

Parameters
pbtoviewInner coords to drawing device (port) transform.
Returns
Bounding PMRect in drawing device coordinates.

Reimplemented from CHandleShape.