[Gimp-developer] Problem refreshing GimpPreviewArea

Nicolás Serrano Martínez Santos nserrano at iti.upv.es
Fri May 9 02:45:46 PDT 2008


Please find attached a simple plugin which consist in a dialog  
showing a drawable. Where you can specify the width and height that  
will be shown.

This dialog does not refresh the GimpPreviewArea every time you click  
the spin. am I missing something??


El 08/05/2008, a las 13:45, Sven Neumann escribió:

> That's a terribly inefficient way to doing things as you are  
> allocating
> a large amount of memory here to draw everything in a single call
> instead of iterating over the drawable on a tile-by-tile basis  
> (which is
> what GimpDrawablePreview is doing). But it should work. I don't see
> anything obviously wrong with this code. Perhaps you can make a simple
> test application that we can compile and use to reproduce your  
> problem?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /lists/gimp-developer/attachments/20080509/7fb55936/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c.gz
Type: application/x-gzip
Size: 1953 bytes
Desc: not available
Url : /lists/gimp-developer/attachments/20080509/7fb55936/attachment.gz 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /lists/gimp-developer/attachments/20080509/7fb55936/attachment-0001.html 


More information about the Gimp-developer mailing list