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

Public Member Functions

 BscShpShape (IPMUnknown *boss)
 
virtual ~BscShpShape ()
 
- Public Member Functions inherited from CGraphicFrameShape
 CGraphicFrameShape (IPMUnknown *boss)
 
- Public Member Functions inherited from CPathShape
 CPathShape (IPMUnknown *boss)
 
- Public Member Functions inherited from CShape
 CShape (IPMUnknown *boss)
 
virtual void ProcessDrawShape (GraphicsData *gd, int32 flags)
 
virtual void IterateShapeDrawOrder_ (const PMMatrix *xform, ICallback *callbackInfo, int32 flags)
 
virtual void Inval (GraphicsData *gd, ClassID reasonForInval, int32 flags)
 
- Public Member Functions inherited from IShape
void IterateShapeDrawOrder (ICallback *callbackInfo, int32 flags=0)
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Protected Member Functions

virtual void DrawShape (GraphicsData *gd, int32 flags)
 
- Protected Member Functions inherited from CGraphicFrameShape
virtual void DrawShape_Fill (GraphicsData *gd, int32 flags)
 
virtual void DrawShape_Hierarchy (GraphicsData *gd, int32 flags)
 
virtual void DrawShape_Stroke (GraphicsData *gd, int32 flags)
 
virtual bool16 IsGraphicFrame () const
 
virtual PMRect GetPaintedBBox (const PMMatrix &theMatrix, const Transform::CoordinateSpace &coordinateSpace)
 
virtual PMRect GetPrintedBBox (const PMMatrix &theMatrix, const Transform::CoordinateSpace &coordinateSpace, bool32 includeAdornments=kTrue)
 

Additional Inherited Members

- Public Types inherited from IShape
enum  { kDefaultIID = IID_ISHAPE }
 
enum  {
  kNoFlags = 0, kDrawingClippedOutImageData = 1, kUseXOR = 2, kDrawResizeDynamic = 4,
  kDrawRotateDynamic = 8, kDrawScaleDynamic = 16, kDrawMoveDynamic = 32, kDrawCreateDynamic = 64,
  kPatientUser = 128, kDynamicPause = 256, kPrinting = 512, kDoBroadcast = 1024,
  kDrawFrameEdge = 2048, kPreviewMode = 4096
}
 
enum  {
  kSelect = 1, kDirectSelect = 2, kGroupSelect = 4, kOverrideMasterPageItemNoSelect = 8,
  kOverrideMasterPageItem = kOverrideMasterPageItemNoSelect + kSelect, kHitTest = 16, kSolidSelect = 32, kOnlyPath = 64,
  kHitTestLockedLayers = 128, kHitTextOnPath = 256, kOverrideThreadedMasterPageItems = 512
}
 
enum  {
  kIsAMasterPageItem = 1, kSkipChildren = 2, kSkipHiddenLayers = 4, kSkipLockedLayers = 8,
  kSkipHiddenAndLockedLayers = kSkipHiddenLayers + kSkipLockedLayers, kSkipGuideLayers = 16, kSkipMasterPageItems = 32, kSkipNonGuideLayers = 64,
  kIncludeHiddenFormStates = 128, kSkipNonPrintingLayers = 256, kIteratePrinting = 512, kIncludeTOPPageItems = 1024,
  kSkipFormStates = 2048, kPDFExportMode = 4096
}
 
enum  { kPathSelection = 1 }
 
- Protected Attributes inherited from CGraphicFrameShape
IGraphicFrameDatafFrameData
 

Detailed Description

BscShpShape is responsible for drawing a (drawable) page item. This includes: stroke, fill, any (IHierarchy) children. This implementation simply draws a grey fill, and an X through the page item then draws the (IHierarchy) children.

Constructor & Destructor Documentation

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

Constructor.

Parameters
bossinterface ptr from boss object on which this interface is aggregated.
BscShpShape::~BscShpShape ()
virtual

Destructor.

Member Function Documentation

void BscShpShape::DrawShape (GraphicsDatagd,
int32 flags 
)
protectedvirtual

Called by the parent class Draw() method. Responsible for drawing everything in the bounds of this object.

Parameters
gdThe current drawing context.
flagsThe IShape drawing flags for the current drawing context.

Reimplemented from CGraphicFrameShape.