Ya, QPainterPath provides "cubicTo": http://qt-project.org/doc/qt-4.8/qpainterpath.html#cubicTo "Adds a cubic Bezier curve between the current position and the given * endPoint* using the control points specified by *c1*, and*c2*."
What do you mean by using an SVG as a QRect? Do you meant to get a bounding box from it? On Fri, Mar 8, 2013 at 4:44 PM, illunara <[email protected]> wrote: > Hi everybody > How can i draw a bezier curve in QT?, is QPainterPath the one i need? > Also, can i use a SVG file as a QRect? > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
