getVisibleArea usage

Hi Jules,


I'm currently using getVisibleArea in my code.

It's used in paint function so I can only draw the visible portion of a widget which is in a viewport.

Any idea how to replace it ?



In the paint function you should just use Graphics::getClipBounds() and clipRegionIntersects().

oki doki 

Thanks !