Re: [gtk-list] Easy way to reverse a gtk_pixmap?



You might want to look into the GdkMagick package
(http://home.earthlink.net/~lightmanaj/GdkMagick). This package will allow you
to take a GdkPixmap and export it into an ImageMagick image. You can then use
the ImageMagick API to negate the image and GdkMagick to convert the image back
to a GdkPixmap.

Be sure to take a look at the functions gtk_pixmap_set and gtk_pixmap_get for
more information on working with GdkPixmap objects within a GtkPixmap widget.

Thanks,
--Arthur

On Fri, 22 Oct 1999, Pedro Morais wrote:
> Hi!
> 
> Is there any easy way to (temporarily) reverse a gtk_pixmap; that is, every
> white pixel becomes black and every black pixel becomes white.
> 
> Thanks in advance.
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null



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