Re: Getting pixel color in a canvas
- From: Nathan Hurst <njh hawthorn csse monash edu au>
- To: Michenaud Laurent <lmichenaud m6net fr>
- Cc: gnome-devel-list gnome org
- Subject: Re: Getting pixel color in a canvas
- Date: Sun, 25 Feb 2001 11:15:13 +1100 (EST)
On Sat, 24 Feb 2001, Michenaud Laurent wrote:
> Hello,
>
> I would like to know how to get the color of a pixel in a
> canvas.
>
> The best for me would be a function which would be like this :
> GdkColor* = canvas_get_color( canvas, x, y );
There is no back buffer for the canvas - the pixels are generated on the
fly. So such a function would be quite inefficient. What is the
application? perhaps there is a better way to do what you want(the only
application I can think of is an eyedropper like in th gimp.).
njh
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]