BCGControlBar Pro for MFC
CBCGPDiagramCustomShape

Detailed Description

The CBCGPDiagramCustomShape class implements a diagram item with custom shape. CBCGPDiagramCustomShape class allows to create a complex shape that is built from several basic predefined segments. Use StartPart(), AddLine(), AddBezier(), AddArc(), AddPoints() methods to construct custom shape part.

See also
CBCGPDiagramShape
+ Inheritance diagram for CBCGPDiagramCustomShape:

Public Member Functions

 CBCGPDiagramCustomShapeConstructor.
 
 CBCGPDiagramCustomShapeCopy constructor.
 
 AddArcAdds an arc segment to the shape geometry.
 
 AddBezierAdds a bezier segment to the shape geometry.
 
 AddLineAdds a line segment to the shape geometry.
 
 AddPointsAdds points to the shape geometry.
 
 SetCanvasRectOffsets all shape segments by the specified rectangle.
 
 SetClosedSpecifies whether the shape geometry is closed or not.
 
 SetStartSets shape geometry starting point.
 
 StartPartStarts a new group of custom shape segments.
 
- Public Member Functions inherited from CBCGPDiagramShape
 CBCGPDiagramShapeConstructor.
 
 CBCGPDiagramShapeConstructor.
 
 DrawTextDataCalled by the framework to draw the diagram shape text label.
 
 GetShapeGets the shape style.
 
 IsShadowEnabledTells whether shape has the shadow. Override this method and return FALSE if you wish to disable shadow for specific diagram shape.
 
 IsShadowWithEffectTells whether shape has the shadow with a visual effect. Override this method and return FALSE if you wish to disable shadow with effect for specific diagram shape.
 
 SetShapeSets a shape style.
 
- Public Member Functions inherited from CBCGPDiagramVisualObject
 CBCGPDiagramVisualObjectConstructor.
 
 CBCGPDiagramVisualObjectCopy constructor.
 
 AddTextDataAdds a text data to the diagram item.
 
 DrawConnectionPortsCalled by the framework to draw a connection ports.
 
 GetAllConnectorsGets the list of all item connectors.
 
 GetConnectionPortGets coordinates of the specific connection port.
 
 GetConnectorsGets the list of connectors connected to specified port.
 
 GetFillBrushGets object fill brush.
 
 GetFillColorGets object fill color.
 
 GetItemIDGets item identifier.
 
 GetOutlineBrushGets object outline brush.
 
 GetOutlineColorGets object outline color.
 
 GetParentDiagramGets the parent diagram.
 
 GetPartTextDataRetrieves the text data object of the diagram item.
 
 GetStrokeStyleGets the object stroke style.
 
 GetTextDataGets text data by index.
 
 GetThicknessGets the border thickness.
 
 HasConnectorsTells whether the diagram item has a specific connector(s).
 
 HitTestConnectionPortHits test connection port.
 
 RemoveTextDataRemoves the text data from the diagram item.
 
 SetAutoDestroySpecifies whether the diagram object should be destroyed automatically.
 
 SetFillBrushSets object fill brush.
 
 SetFillColorSets object fill color.
 
 SetItemIDSets an item identifier.
 
 SetOutlineBrushSets object outline brush.
 
 SetOutlineColorSets object outline color.
 
 SetStrokeStyleSets the object border stroke style.
 
 SetTextDataSets text data in the diagram item.
 
 SetThicknessSets the object border thickness.
 
 UseConnectionPortCreates a new anchor point.
 
- Public Member Functions inherited from CBCGPBaseVisualObject
 CBCGPBaseVisualObjectConstructor.
 
 CBCGPBaseVisualObjectCopy constructor.
 
 CopyToClipboardCopies visual object to the Clipboard.
 
 EnableImageCacheEnables or disables visual object image cache.
 
 ExportToBitmapExports the visual object to bitmap.
 
 ExportToFileExports the visual object to a file (BMP or PNG).
 
 ExportToImageExports the visual object to an image.
 
 GetDataGets an internal data object.
 
 GetDataAnimationTypeGets data animation type.
 
 GetDataCountReturns a number of data objects.
 
 GetEditFlagsGets editing flags.
 
 GetFillBrushRetrieves a visual object's background brush
 
 GetIDGets the object identifier.
 
 GetNameGets the object name.
 
 GetParentContainerGets the parent visual container.
 
 GetRectGets the object bounding rectangle.
 
 GetSelectedThemeObtain a currently selected visual theme.
 
 GetUserDataGets user-defined data associated with this object.
 
 GetValueGets the object value.
 
 GetVisualEffectRetrieves a visual effect
 
 IsAutoDestroyTells whether this object will be destroyed automatically.
 
 IsEditModeTells whether this object has the edit mode.
 
 IsEnabledTells whether the visual object is enabled.
 
 IsImageCacheTells whether image cache is enabled for this object.
 
 IsSelectedTells whether this object is selected in the parent container.
 
 IsVisibleTells whether the visual object is visible.
 
 RedrawRedraws this object.
 
 RedrawRectRedraws a specified rectangle.
 
 SelectVisualThemeSelect a visual theme created in Visual Designer.
 
 SetAutoDestroySpecifies whether the object should be destroyed automatically.
 
 SetDataAnimationTypeSets data animation type.
 
 SetDirtyInvalidates and redraws a visual object.
 
 SetEditFlagsSets editing flags.
 
 SetFillBrushSets a new fill brush.
 
 SetIDSets the object identifier.
 
 SetNameSets an object name.
 
 SetSelectedSelects or unselects the object in the parent container.
 
 SetUserDataSets user-defined data associated with this object.
 
 SetValueSets the object value.
 
 SetVisibleShows or hides the visual object.
 
 SetVisualEffectSets a visual effect.
 

Additional Inherited Members

- Public Types inherited from CBCGPDiagramShape
enum  Shape
 
- Public Types inherited from CBCGPDiagramVisualObject
enum  ConnectionPorts
 
enum  Parts
 
- Static Public Attributes inherited from CBCGPDiagramShape
 m_bShadowsEnabledThis global member specifies whether shadow should be enabled or disabled for all shapes in all diagrams.
 
 m_bShadowVisualEffectThis global member specifies whether shadow visual effect should be enabled or disabled for all shapes in all diagrams.