Trunk: new framework for curves

Casper Boemann cbr at boemann.dk
Sat Oct 21 21:43:32 CEST 2006


On Saturday 21 October 2006 21:42, Cyrille Berger wrote:
> > > 	3- Each "curve" could reside in a KisCurveLayer that give you the
> > > possibility of storing the Curve data in memory after the curve is
> > > committed (in Krita 1.6, after the commit of the curve, you cannot edit
> > > it anymore). The layer can be moved, and a right use of the transform
> > > tool permits that the curve can be transformed or rotated (or is it
> > > better to implement my own rotating/transforming methods?).
> >
> > That would suck a bit: we really want one transform tool to rule them
> > all.
>
> Yeah that suxx, both transform tool should use a visitor, selecting a
> group, and then using one of the transform tool should transform all
> sublayer (we might have to be carefull to correctly "align" the
> transformations, if you see what I mean). Plus with a visitor, path layer
> get their visit function, so no need for a new tool.

the transform visitor already exists so it's just to implement a visit() for 
your new layer type. pixel layes use the transformworker to transform pixels
-- 
best regards / venlig hilsen
Casper Boemann


More information about the kimageshop mailing list