[Gegl-developer] Shortcoming in API or behavior of gegl_node_blit and gegl_buffer_get

Martin Nordholts enselic at gmail.com
Sun Sep 16 03:41:54 PDT 2007


Øyvind Kolås skrev:
> [...] The rowstride should probably be added to
> gegl_buffer_get as well, keeping the current behavior of letting 0/-1
> denote a default rowstride of bytesperpixel*width.
> 
> Any comments?
> 
> /Øyvind K.

Just a little comment; to increase code readability I think a symbolic
constant like e.g. GEGL_DEFAULT_ROWSTRIDE should be provided by the API
for passing to functions when a default rowstride is desired.

I suspect that's what you intended, just wanted to mention it.

- Martin Nordholts


More information about the Gegl-developer mailing list