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

Public Types | |
| enum | { kDefaultIID = IID_IPATHPAGEITEM } |
Public Member Functions | |
| virtual void | Stroke (IGraphicsPort *gPort)=0 |
| virtual void | Fill (IGraphicsPort *gPort)=0 |
| virtual void | Clip (IGraphicsPort *gPort)=0 |
| virtual void | CopyPath (IGraphicsPort *gPort)=0 |
| virtual PMRect | GetStrokeBoundingBox (const PMMatrix &theMatrix)=0 |
| virtual PMRect | GetPaintedBoundingBox (const PMMatrix &theMatrix)=0 |
| virtual bool16 | InStroke (IGraphicsPort *gPort, const PMRect &r)=0 |
| virtual bool16 | InFill (IGraphicsPort *gPort, const PMRect &r)=0 |
| virtual void | GetOutlineInfo (IOutlineInfo *iOutlineInfo)=0 |
| virtual bool16 | InFill (IGraphicsPort *gPort, const PMRect &r, int32 whichPath)=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 designed to encapsulate the drawing, hit testing, and querying of path-based page items. All bosses must include an IID_IGRAPHICSTYLE_DESCRIPTOR interface as well.
| anonymous enum |
Define the default interface IID as IID_IPATHPAGEITEM.
| pure virtual |
Clip creates the path, including corners and clips it. Does not do a gsave/grestore. Depending on the attributes it will use even odd or winding rule.
| gPort | [IN] parameter the graphics port that does clip operation. |
| pure virtual |
Copies the path into the graphicsport includes corners.
| gPort | [IN] parameter the graphics port that source path comes from. |
| pure virtual |
Fill creates the path, including corners and fills it. Does not do a gsave/grestore. Depending on the attributes it will use even odd or winding rule.
| gPort | [IN] parameter the graphics port that does fill operation. |
| pure virtual |
Return the outline of the path including corner effects.
| iOutlineInfo | [IN] parameter used as the call back function. |
Same as GetStrokeBoundingBox except it tries to guarantee that invalidations with this bounds will not leave stuff on the screen.
| theMatrix | [IN] parameter the matrix that does the transformation before returning the result. |
Returns the bounding box for the entire stroked path, including corners and line ends. The bounding box is converted using the passed in matrix. This GetStrokeBoundingBox() returns the theoretical bounds.
| theMatrix | [IN] parameter the matrix that does the transformation before returning the result. |
| pure virtual |
Check whether the given rectangle intersects the fill. The rectangle is in device space.
| gPort | [IN] parameter the graphics port that the operation happens. |
| r | [IN] parameter the given rectangle. |
| pure virtual |
Check whether the given rectangle intersects the fill of the given path. The rectangle is in device space.
| gPort | [IN] parameter the graphics port that the operation happens. |
| r | [IN] parameter the given rectangle. |
| whichPath | [IN] parameter the given path. |
| pure virtual |
Check whether the given rectangle intersects the stroke. The rectangle is in device space.
| gPort | [IN] parameter the graphics port that the operation happens. |
| r | [IN] parameter the given rectangle. |
| pure virtual |
Stroke creates the full path, including corners and line ends, and strokes it. Does not do a gsave/grestore.
| gPort | [IN] parameter the graphics port that does stroke operation. |