[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: KisPainter::paintPolygon used in paintops
From: Boudewijn Rempt <boud () valdyas ! org>
Date: 2009-09-29 13:57:56
Message-ID: 200909291557.56800.boud () valdyas ! org
[Download RAW message or body]
On Tuesday 29 September 2009, Sven Langkamp wrote:
>
> I'm not sure if QImage::pixel suffers from the same slowness as setPixel,
> but it might be worth to try using QImage scanline instead. Same with
> QPainter::fillRect vs QImage::fill.
When doing filters for Hyves, I found that using scanline made a huge
difference.
> Adapt the size of the QImage to the path. It isn't needed to create a
> 256x256 QImage if you are just painting a 10 pixel circle.
>
> Combine several paths into one QPainterPath. No idea, if that works with
> the spray tool but it would probably help a lot if you could group the
> circles etc. in in qpainterpath before using fillPainterPath.
>
--
Boudewijn Rempt | http://www.valdyas.org
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic