CODOrthogonalLinkShape Class
class CODOrthogonalLinkShape: public CODLineComponent, public IODLinkShape
This class implements the orthogonal line shape for links. It is derived from CODLineComponent and supports the IODLinkShape interface.Defined in: OdLinkShape.h
See Also
Class Members
Constructor.
virtual CODComponent* GetComponent()
Return a pointer to the component that implements the line shape.
virtual CPoint GetTailPoint() const
Return the point that represents the tail of the link.
virtual CPoint GetHeadPoint() const
Return the point that represents the head of the link.
virtual BOOL Dock(CODPortComponent* pSourcePort, CODPortComponent* pTargetPort)
Adjusts the shape so that the head and tail dock with the given ports.
virtual BOOL UpdateVertex(const int nVertexIdx, CODPortComponent* pSourcePort, CODPortComponent* pTargetPort)
Adjust the shape when a vertex changes.
virtual ULONG STDMETHODCALLTYPE AddRef()
Add a reference to this object.
virtual ULONG STDMETHODCALLTYPE Release()
Release a reference to this object.