Hi, On Sun, 2006-12-03 at 14:52 -0800, triffid@xxxxxxxxxx wrote: > What I'm writing is straightforward- it's a linear (i.e. one-dimensional) unsharp mask. (I'm probably not the first to do this, but it's a good learning opportunity, and it confirmed my hunch that it would work better against motion blur than the standard version). The line is supposed to illustrate the angle and size of the convolution. In that case you probably want to draw on the preview window without fiddling with the buffers that the preview widget uses. Just connect after the expose-event handler and use GDK or Cairo drawing API to draw on the preview area. Sven _______________________________________________ Gimp-developer mailing list Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer