[cairo] Review of recent negative-stride changes

Behdad Esfahbod behdad at behdad.org
Thu Mar 6 05:42:45 PST 2008

On Wed, 2008-03-05 at 17:01 -0500, Carl Worth wrote:
> >     Check that we also allow surfaces to be created using a negative
> stride.
> Uhm... is this even something we want to enshrine in the test
> suite. I certainly don't expect cairo_image_surface_create_for_data to
> work with a negative stride. And it's not currently documented that
> way.
> Is there some justification for supporting this? If so, then let's
> change the documentation and ensure the implementation matches. But
> we're a little late in 1.5.x for a change like that.

Negative strides are useful for integrating with systems having the
origin at bottom left.  Not sure there are any that we care about...  We
had some quartz issue like that though.  What was that Vlad?


"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759

More information about the cairo mailing list