[cairo] problem with downscaling images and destination coordinate spaces

Behdad Esfahbod behdad at behdad.org
Tue May 29 11:17:05 PDT 2007

On Tue, 2007-05-29 at 14:14 -0400, Daniel Amelang wrote:
> On 5/28/07, Vladimir Vukicevic <vladimir at pobox.com> wrote:
> >
> > The problem seems to be that pixman transformation matrices are 16.16
> > fixed; thus the scaled offsets end up overflowing.
> Carl has been threatening to make cairo fixeds 24.8. Maybe pixman
> fixeds should also be made 24.8 when that happens.
> Dan Amelang

There should be a better fix possible in this case.  Not sure how
exactly, maybe extract the integer part of the offset into a full int or


"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