On 7/11/07, Andre Magalhaes <[EMAIL PROTECTED]> wrote: > Hi again, > > So i wrote a new version of the patch supporting stride. The new patch > adds a new public method evas_object_image_stride_get that returns the > row stride of the image. In etk/ewl there are some places that make > use of image_data directly as if it was a 32 bits ARGB data. These > codes can be fixed by testing the cspace and using the row stride to > get a certain pixel and the rgba component, but maybe it would be > interesting to have some functions to get/set the rgba of a certain > image pixel. This is not done in this patch, as i will wait for a > review first.
IMHO it's fine now. Just a minor notice about stride_get documentation, it's not the number of bytes, but numer of units, so you have to multiply by unit size, example in 16bpp: sizeof(DATA16) for color, sizeof(DATA8) for alpha. -- Gustavo Sverzut Barbieri -------------------------------------- Jabber: [EMAIL PROTECTED] MSN: [EMAIL PROTECTED] ICQ#: 17249123 Skype: gsbarbieri Mobile: +55 (81) 9927 0010 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel