PDA

View Full Version : draw a polyline



bonics
14th August 2007, 08:40
I'm trying to print a polyline (connect two points with a half squared line) calling QCanvasLine::SetPoints(XXX) two consecutive times, but It only shows the line of the second function call. I can not use drawline, because I dont have access to QPainter. Anyideas how to do that?

Cheers,

Ben

wysota
14th August 2007, 10:51
Can you show the actual code? QCanvasLine is part of Qt3 and it seems you're using Qt4...