KisSelection vs. KisPixelSelection

Dmitry Kazakov dimula73 at
Sat Jun 19 09:17:05 CEST 2010

On Sat, Jun 19, 2010 at 11:03 AM, Dmitry Kazakov wrote:

> Why does KisSelection inherit KisPaintDevice instead of KisPixelSelection?
> They share so much code!

Btw, is KisSelection used as a paint device anywhere? And is it used used as
a paint device for *writing*?

The second point is even more important, i think, because in case we do any
transformations to KisSelection (just right the thing mpeg wanted to do
recently) we must flatten all shape and pixel selections into a single pixel
selection first[1]. Does it happen so now?

[1] - it means that there will be no shape selections left after flattening.

Dmitry Kazakov
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the kimageshop mailing list