Hi! I created some objects in wxDrawShape and now I want to link 2
different objects with a line using this function...
wxShape::AddLine
void AddLine(wxLineShape* line, wxShape* other, int attachFrom = 0, int
attachTo = 0, int positionFrom = -1, int positionTo = -1)Adds a line between the specified canvas shapes, at the specified
attachment points.The position in the list of lines at each end can also be specified,
so that the line will be drawn at a particular point on its attachment
point.
The problem is that I use the attachFrom and attachTo to set the place
the shapes will be attached, but I just can link in 4 direction
(up,down,left,right). Can I link in different places? Some like up and
right, down and right, its what Im needing.
Diego