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

Public Member Functions | |
| virtual void | ProcessDrawShape (GraphicsData *gd, int32 flags=kNoFlags)=0 |
| virtual void | IterateShapeDrawOrder_ (const PMMatrix *xform, ICallback *callbackInfo, int32 flags=0)=0 |
| void | IterateShapeDrawOrder (ICallback *callbackInfo, int32 flags=0) |
| virtual PMRect | GetPaintedBBox (const PMMatrix &theMatrix, const Transform::CoordinateSpace &coordinateSpace)=0 |
| virtual PMRect | GetPrintedBBox (const PMMatrix &theMatrix, const Transform::CoordinateSpace &coordinateSpace, bool32 includeAdornments=kTrue)=0 |
| virtual void | Inval (GraphicsData *gd, ClassID reasonForInval=0, int32 flags=0)=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 used to inval and draw the item.
| anonymous enum |
Define the default IID for IShape.
| anonymous enum |
Define drawing flags.
| anonymous enum |
Define hit test flags.
| anonymous enum |
Define iterate flags.
| Enumerator | |
|---|---|
| kIsAMasterPageItem | Set if the page item being iterated is from a master, clear otherwise |
| kSkipChildren | Pass to IterateDrawOrderHierarchy() to prevent IterateDrawOrder() from iterating through its children |
| kSkipHiddenLayers | Pass to IterateDrawOrderHierarchy() to prevent IterateDrawOrder() from iterating through hidden spread layers |
| kSkipLockedLayers | Pass to IterateDrawOrderHierarchy() to prevent IterateDrawOrder() from iterating through locked spread layers |
| kSkipHiddenAndLockedLayers | Pass to IterateDrawOrderHierarchy() to prevent IterateDrawOrder() from iterating through hidden and locked spread layers |
| kSkipGuideLayers | Pass to IterateDrawOrderHierarchy() to prevent IterateDrawOrder() from iterating through guide spread layers |
| kSkipMasterPageItems | Pass to IterateDrawOrderHierarchy() to prevent IterateDrawOrder() from iterating through items on the masters assigned to this hierarchy |
| kSkipNonGuideLayers | Pass to IterateDrawOrderHierarchy() to prevent IterateDrawOrder() from iterating through non-guide spread layers (that is, skip regular layers) |
| kIncludeHiddenFormStates | Pass to IterateDrawOrderHierarchy() to allow IterateDrawOrder() to iterate over hidden form states |
| kSkipNonPrintingLayers | Pass to IterateDrawOrderHierarchy() to prevent IterateDrawOrder() from iterating through non-printing spread layers |
| kIteratePrinting | Pass to IterateDrawOrderHierarchy() to allow IterateDrawOrder() to iterate over as if printing. Due to lack up type checking for IShape enums, this must match kPrinting above since they are unfortunately used interchangeably in the codebase. |
| kIncludeTOPPageItems | Pass to IterateDrawOrderHierarchy() to allow IterateDrawOrder() to iterate over text on path items. Must be iterating children for this to work (i.e. kSkipChildren should be off) |
| kSkipFormStates | Pass to IterateDrawOrderHierarchy() to prevent IterateDrawOrder() from iterating over form states. If specified, states in multi-state page items (e.g., buttons) will not be iterated. This supersedes kIncludeHiddenFormStates. If both flags are specified, kIncludeHiddenFormStates is implicitly ignored.
|
| kPDFExportMode | PDF export |
| pure virtual |
Get the painted bounds. The bounds must include all painted area but does not need to be pixel perfect. Compute the bounds in pasteboard coords and then transform by theMatrix.
| theMatrix | the matrix to transform the bounds based on pasteboard coordinates. |
Implemented in CGraphicFrameShape, CShape, and CPathShape.
| pure virtual |
Get the bounds around what will actually print. This includes the stroke bounds plus whatever adornments are set to print. Compute the bounds in pasteboard coords and then transform by theMatrix.
| theMatrix | the matrix to transform the bounds based on pasteboard coordinates. |
| includeAdornments | [IN] Whether or not printing adornments are included in the resulting bounding box |
Implemented in CGraphicFrameShape, and CShape.
| 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 CShape.
| pure virtual |
Call callbackInfo->callback for each item in this shape's hierarchy.
| xform | the matrix to transform coordinates. |
| callbackInfo | |
| flags | default as kNoFlags and serves as a drawing flag. |
Implemented in CShape.
| pure virtual |