« Return to Thread: Problem refreshing GimpPreviewArea

Re: Problem refreshing GimpPreviewArea

by Nicolás Serrano Martínez Santos :: Rate this Message:

Reply to Author | View in Thread

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?



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

test.c.gz (2K) Download Attachment

 « Return to Thread: Problem refreshing GimpPreviewArea