[Kstars-devel] Clipping in KStars

Jasem Mutlaq mutlaqja at ikarustech.com
Sat Sep 26 12:46:26 UTC 2015


Hello all,

I was wondering if it would be better to use QPainter own clipping use
QPainterPath to set the clipping in KStars instead of doing our own
clipping routines?

How can we find out the polygon enclosing the skymap when the fov radius is
less than 180 degrees? We can then simply set that polygon at the clipping
polygon and we're and we're set, which would solve clipping issues with the
constellation art and also with the artificial horizon polygon I'm
currently working on.

-- 
Best Regards,
Jasem Mutlaq
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kstars-devel/attachments/20150926/edf40e6a/attachment.html>


More information about the Kstars-devel mailing list