Re: Cairo for 2.6

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

 




To my understanding, switching to Cairo for the canvas (and switching
away from XOR drawing) will involve two things:

1) Porting GimpCanvas to Cairo instead of raw GDK.  That should be pretty
straightforward:  I think virtually all of the relevant code lives
in app/display/gimpcanvas.c.

2) Changing the implementation of gimp_draw_tool_pause() in 
app/tools/gimpdrawtool.c, so that instead of erasing the drawing
using the XOR trick, it redisplays the projection of the image.  I
believe that getting this to happen efficiently will require maintaining
a pixmap of the projection as it is currently displayed.  Given that
that needs to happen in any case, this might be a good time to take
on the problem of displaying an interpolated view of the projection 
instead of the current every-nth-pixel view.

  -- Bill
 

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


 
                   
_______________________________________________
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