[Interest] Return null QSGNode from updatePaintNode to erase previously drawn things

Данил Патрушев dannix84 at gmail.com
Wed May 11 11:42:58 CEST 2016


Hi all. I have a quick item which does some custom drawing and has a few
visible child items. At some point I want to erase all the stuff drawn by
this item, which I thought I could by returning a null qsgnode from
updatePaintNode, but the stuff remains visible. I have a few ideas how to
work around this, but I just wonder if this is considered normal behavior.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160511/f8cff7cc/attachment.html>


More information about the Interest mailing list