Re: Thoughts about a new GdkPixbuf transform interface
- From: Larry Ewing <lewing ximian com>
- To: Sander Vesik <sander_traveling yahoo co uk>
- Cc: Jody Goldberg <jody gnome org>, Oleg Klimov <quif land ru>, gtk-devel-list gnome org
- Subject: Re: Thoughts about a new GdkPixbuf transform interface
- Date: 21 Feb 2003 11:56:50 -0600
On Fri, 2003-02-21 at 11:17, Sander Vesik wrote:
> Jody Goldberg wrote:
> > On Thu, Feb 20, 2003 at 12:53:46AM +0300, Oleg Klimov wrote:
> >
> >>void gdk_pixbuf_transform_set_affine (GdkPixbufTransform* trans,
> >> gdouble offset_x,
> >> gdouble offset_y,
> >> gdouble m00,
> >> gdouble m01,
> >> gdouble m10,
> >> gdouble m11);
> >
> >
> > Minor quible. I'm unclear why people seem to prefer passing things
> > in as 6 distinct arguments, why not 1 array ?
>
> Leavingteh 'in general' argument aside - m00 ... m11 should probably be an
> array. its probably more convinient to keep offsets as independent scalars
Both libart and gnome-canvas use a single array, and anything keeping
track of its own tranforms probably will too. I don't see why splitting
out the translation is of any real benefit.
--Larry
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]