Re: IWarp as a tool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Fri, 2008-02-15 at 12:57 +0200, Tor Lillqvist wrote:

> So, how to solve this? Should the bookeeping of deformation vectors be
> done per-drawawble by the GimpWarpTool object (a subclass of
> GimpPaintTool) and not GimpWarp object?

No, the tool class shouldn't do anything but providing the user
interface.

> Ditto for a copy of the original drawable. 

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().


Sven


_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux