Re: [gtk-list] selections on drawing area



On Fri, 21 Apr 2000, Alexander Kotelnikov wrote:

> Hi,
> 
> How do I highlight a (selected) region on my drawing area with "marching ants"
> or something like this?
> 
> Thanks,

  I guess you'll have to select XOR operation for drawing the ants in one
position. On the next step, you'll have to draw ants in the same position
using XOR operation again (thus restoring everything under the ants) and then
draw ants in new position using XOR operation, and so on. I'm not sure, but
there is a probability that this won't work for all types of Visuals. Seems
that's why gimp doesn't use this approach.

 
> -- 
> Alexander Kotelnikov
> Saint-Petersburg, Russia
> mailto:sacha@ak2614.spb.edu
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 

 Best regards,
  -Vlad



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