[Gambas-user] Drawing question

fabien gambasfr at ...11...
Thu Jun 2 23:45:52 CEST 2005


Le Jeudi 02 Juin 2005 15:46, nando a écrit :
> How do I get the value of a pixel.
> Nothing listed in the wiki.
> I want to read part of a drawing area.
> -Fernando

Hi Fernando,

In fact it's really simple :

I think you need to use an internal image to prepare your drawing,

and then copy the content of it in the drawingarea

by this way you can know the pixel value by :

color = image[X,Y]

Fabien
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Yahoo.
> Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> Search APIs Find out how you can build Yahoo! directly into your own
> Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list