Ops! :) Of course!

Thanks,

Nuno

On 05 Nov 2014, at 17:33, Gunnar Sletta <gun...@sletta.org> wrote:

> A clip node will clip its children, not its siblings :)
> 
> cheers,
> Gunnar
> 
> On 04 Nov 2014, at 18:52, Nuno Santos <nunosan...@imaginando.pt> wrote:
> 
>> Hi,
>> 
>> I was wondering how I could use QSGClipNode to clip what is being drawn out 
>> of a node rect.
>> 
>> I’m trying to instantiate a QSGClipNode on the node I want to clip.
>> 
>> _clipNode = new QSGClipNode();
>> appendChildNode(_clipNode);
>> 
>> I have tried to append it after and before other nodes, but the result is 
>> the same, no clipping. 
>> 
>> I’m only setting geometry when I have the geometry for the node itself 
>> however documentation says "Clip nodes must have a geometry before they can 
>> be added to the scene graph.”
>> 
>> Any ideas?
>> 
>> Thanks,
>> 
>> Regards,
>> 
>> Nuno Santos
>> _______________________________________________
>> Interest mailing list
>> Interest@qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
> 

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to