On Thu, 2002-11-07 at 08:20, [EMAIL PROTECTED] wrote:
> I want to take a small section of the screen and copy it into an evas object.
> Using imlib, i can get the image data i want (and if i save it out i can see that it
>is correct), so I figured doing the following would work:
>
> evas_object_image_data_set(obj, imlib_get_image_data_for_reading_only());
>
> when i do this (with the image format in argb, rgba, png, whatever), the evas object
>shows no contents. (if i set a file, it does, so the object is in the right place and
>shown and all.)
>
> Is there a better way to do this? or is this the correct way and i'm just doing
>something wrong somewhere?
Something like this maybe:
evas_object_image_size_set( eo, w, h );
if( copydata )
evas_object_image_data_copy_set( eo, (int*)(rgbadata) );
else
evas_object_image_data_set( eo, (int*)(rgbadata) );
evas_object_image_fill_set( eo, 0, 0, w, h );
>
> --
> brian
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: Thawte.com
> Understand how to protect your customers personal information by implementing
> SSL on your Apache Web Server. Click here to get our FREE Thawte Apache
> Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
> _______________________________________________
> enlightenment-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
Ben Martin <[EMAIL PROTECTED]>
-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
_______________________________________________
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel