brushes and brush engines

Cyrille Berger cberger at
Thu Mar 20 13:58:33 CET 2008

I guess you forgot kimageshop at ;) sending my answer here, as the answer 
might interest more people.

On Thursday 20 March 2008, you wrote:
> > Why would the mouse position be preserve between two paintop creations?
> I mean that it contains all the information that are not stored directly in
> the paintop.
> While I was writing that, I was mostly thinking about use cases.
Good :)

> Consider, for example, the clone operation. It is expected to work with any
> paint tool, but it *changes* the way the tool will be used by the user.
> Let me explain: if you take the freehand tool and use it with the clone
> operation, the clone operation changes the interface because it expects you
> hit Ctrl or Shift to select the starting position for cloning.
> Is this possible with the current framework?
Yes. This was not possible in the 1.6.x series. But I fixed that in 2.x. In 
fact, it's store in KisPaintOpSettings, KisPaintOpSettings can receive 
mousePressEvents. To the little detail, that only KisToolFreehand forward the 
event to KisPaintOpSettings :/

Cyrille Berger

More information about the kimageshop mailing list