[cairo] Pixel RGB Values...
Steril 707
steril707 at hotmail.com
Fri Jul 10 05:52:58 PDT 2009
Hello Jonathan
Ok, so i put a * in front of pixelRGB instead of the (int) cast. This returns only zeros, when moving over the window, also when moving over parts with color in it...
Seems I am doing something else wrong..
would you say that the way I do the rest in the function is correct?
Do I have to change something?
thanks for your reply,
Mike
> Subject: Re: [cairo] Pixel RGB Values...
> From: jonathan.morton at movial.com
> To: steril707 at hotmail.com
> CC: cairo at cairographics.org
> Date: Fri, 10 Jul 2009 15:24:26 +0300
>
> > This seems to only return me the address of that pixel in int.
>
> Try dereferencing it rather than casting it.
>
> --
> ------
> From: Jonathan Morton
> jonathan.morton at movial.com
>
>
_________________________________________________________________
Windows Live™: Keep your life in sync. Check it out!
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20090710/7d2dd3a8/attachment.html
More information about the cairo
mailing list