Re: [Gimp-developer] Remote operation for gimp

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

 



Daniel wrote:

> My question is, is there any alternate way to use the tools other then
> the gimptools methods? 

No, not really.

> A way to do the operations but not remember it for undo
> until I say would be a possible solution.

That's easy, see 

http://developer.gimp.org/api/2.0/libgimp/libgimp-gimpundo.html

I assume gimp is interpolating between the
points it gets in order to get the smooth effect, is there a way for
the plugin to use this or will I need to do this myself?

GIMP does interpolate for paint tools, you can find the code
in app/paint/gimpbrushcore.c and elsewhere.  This functionality
is not currently exported to libgimp; it might be easier to
arrange this than to rewrite the code on your own, since it is
rather complex.

I presume, by the way, that you actually *are* getting all the pointer
motion information gdk can provide, i.e., you are using GDK_POINTER_MOTION_MASK
in your event mask rather than GDK_POINTER_MOTION_HINT_MASK.

Best,
  -- Bill
 

 
______________ ______________ ______________ ______________
Sent via the CNPRC Email system at primate.ucdavis.edu


 
                   

[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