An orthogonal link is a link component that contains an orthogonal line component as a link shape. To create an orthogonal link, simply create a link using the CODLinkComponent::CreateOrthogonal method. Example 18 shows how to create an orthogonal link.
CODLinkComponent* pLinkComp = new CODLinkComponent(); pLinkComp->CreateOrthogonal(); |
Example 19 is equivalent to using the CreateOrthogonal method.
CODLinkComponent* pLinkComp = new CODLinkComponent(); CODOrthogonalLinkShape* pOrthoLine = new CODOrthogonalLinkShape (); pOrthoLine->Create(pPointArray); pLinkComp->AssignShape(pOrthoLine); |
Copyright © Rogue Wave Software, Inc. All Rights Reserved.
The Rogue Wave name and logo, and Stingray, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.