Re: GdkPixbuf Trouble
| From: | Andrei Zmievski | Date: | Thu, 30 Mar 2006 17:17:13 +0000 |
| Subject: | Re: GdkPixbuf Trouble | ||
| References: | 1 2 3 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-2689@lists.php.net to get a copy of this message | ||
I made overrides for draw_rgb_image() and draw_rgb_32_image(). The _dithalign versions are no more. Try it now.
//expose_cb() $pixels = $frame->get_pixels() + $rowstride * $event->area->y + $event->area->x * 3;And you can't treat PHP as C. It doesn't have pointers. The correct way to do what you want it is to use substr(). -Andrei