Re: setting Gtk2::Gdk::Color pixel
- From: "Jeffrey Ratcliffe" <jeffrey ratcliffe gmail com>
- To: muppet <scott asofyet org>
- Cc: gtk2-perl List <gtk-perl-list gnome org>
- Subject: Re: setting Gtk2::Gdk::Color pixel
- Date: Sat, 17 Nov 2007 14:44:35 +0100
On 17/11/2007, muppet <scott asofyet org> wrote:
XOR is useful for reversible drawing. I swear, the white+xor trick
works. I just wrote the attached script, and used it to create the
attached screenshot. Load your favorite picture (watch out -- scaling
and scrolling are left as an exercise for you) and drag button 1 around.
Your timing is excellent. This comes just in time to save me major
head-scratching on how to implement rubberbanding for a crop function.
Thanks.
Jeff
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]