[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: New idea about Grayscale Selections problem
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2013-02-12 8:23:38
Message-ID: 201302120923.38607.boud () valdyas ! org
[Download RAW message or body]

On Sunday 10 February 2013 Feb, Dmitry Kazakov wrote:
> Well, probably, we could think over the idea of having
> KisSelection::paintDevice() again... But we should first consider a few
> problems very carefully:
> 
> 1) On the start of every transaction over KisSelection::paintDevice() the
> selection should be flattened to have a paint device only.
> 2) On the start of every transaction over KisSelection::pixelSelection()
> the selection should be flattened to have a pixel selection only.
> 3) (What should we do on the creation of a vector selection in a selection
> having a pixel selection?)
> 4) All the flatten events should be undo/redo'able
> 5) The KisSelection::paintDevice() object should still be in some special
> colorspace, that can be composed into alpha() colorspace properly.
> 
> Actually, problems 2 and 4 are to be solved anyway, because currently we
> have a few bugs due to it.

That seems to make the plan more feasible....

> Problems 1 and 2 should be somehow solved internally inside the
> KisSelection, that it we shouldn't ask the user-code to flatten it every
> time manually.

Yes, it should be transparent to the code using selections.

-- 
Boudewijn Rempt
http://www.valdyas.org, http://www.krita.org, http://www.boudewijnrempt.nl
_______________________________________________
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