[Gimp-developer] IWarp as a tool

Tor Lillqvist tml at iki.fi
Sat Feb 16 14:08:07 PST 2008


>  You don't need to allocate such a copy as it is already allocated for
>  you by means of the undo tile-manager. If you need access to the
>  original drawable, just read from the undo tiles. If your warp object is
>  a GimpPaintCore, then you can just use gimp_paint_core_get_orig_image().

But isn't each stroke with a tool a separate GimpPaintCore object? In
the warp tool's case, I would like sequential strokes to have access
to the same original image, the one before the first stroke. Is there
any existing infrastructure to do this, or would the warp tool code
need to manage such bookkeeping itself?

--tml


More information about the Gimp-developer mailing list