How to draw a balloon using code
-
Yes, Qt (not QT) can render SVG. One way is to use QSvgRenderer, but if you just want a widget, you might as well use QSvgWidget.
Balloons in SVG format can be found at the other end of Google search, or on your hard disk after you draw one with any SVG editing tool.
-
[quote author="xhsoldier" date="1304054041"]Thanks Andre. I buy your suggestion.[/quote]
At what price? ;-)
[quote]
Btw, for cubic Bezier curve, it requires 4 points, why Qt API QPainterPath::cubicTo() only have 3 points?[/quote]
Because you already have the starting point in your path, and can set that separately if you want.