[Qt-interest] remove all elements from a QPainterPath
Sean Hayes
sean.t.hayes at vanderbilt.edu
Thu Mar 31 17:35:52 CEST 2011
>
> That said, note that assignments to the pointee *are* permitted. So the
> following code:
>
> > *this = QPainterPath();
>
> Is perfectly possible. It's simply equivalent to calling:
>
> this->operator =(QPainterPath());
>
> It's even used in lots of places in Qt and in WebKit:
>
That is very interesting. Thanks Thiago and Andre for the clarification.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110331/ab7715a8/attachment.html
More information about the Qt-interest-old
mailing list