BCGControlBar Pro for MFC
CBCGPDiagramAnchorPoint

Detailed Description

The CBCGPDiagramAnchorPoint class is used to specify connector's ending point. The point can be specified directly by X,Y coordinates. The point is calculated automatically according to the position of the linked object if a connector is linked to a diagram item.

Call CBCGPDiagramVisualContainer::NewAnchorFromPoint to create a new object. Call CBCGPDiagramVisualContainer::CalculatePoint to calculate actual X,Y coordinates.

Public Member Functions

 CBCGPDiagramAnchorPointDefault constructor.
 
 CBCGPDiagramAnchorPointConstructor.
 
 CBCGPDiagramAnchorPointCopy constructor.
 

Static Public Member Functions

 NullAnchorCreates a null anchor not connected to any diagram items.
 

Public Attributes

 m_idObjectA diagram item identifier.
 
 m_nConnectionPortConnection port of a diagram item.
 
 m_ptNullAnchorX,Y coordinates of connector's ending point. Ignored if a connector is linked with a diagram item.