Hi all, I have problem with displaying arrows defined for OGL LineShape object. Code taken from official demo:
line = ogl.LineShape()
line.SetCanvas(self)
line.SetPen(wx.RED_PEN)
line.SetBrush(wx.BLACK_BRUSH)
line.AddArrow(ogl.ARROW_ARROW)
line.MakeLineControlPoints(2)
fromShape.AddLine(line, toShape)
self.diagram.AddShape(line)
line.Show(True)
Unfortunately no arrow is displayed:
I tried to use DrawArrow() and DrawArrows() methods but without any success. Please could advise me how to display arrows for LineShape objects using OGL? Thanks a lot in advance! Best regards, Martin Landa