[cairo] [PATCH] Rely less on fast double-precision FPUs

cu cairouser at yahoo.com
Fri Jun 4 17:53:58 PDT 2010


We only use image surface backend (frankly, in my opinion, that's where
Cairo shines - in fact so much so I wish there was a separate library
built from Cairo that had nothing but image surface, so that it could be
polished and optimized more, but I digress). From what little I've seen
inside Cairo, offsets are handled properly. This is very important for
certain types of drawing and it's one feature that makes Cairo valuable IMHO


Bill Spitzak wrote:
>
>
> I'm not sure if you should be relying on huge offsets working. Lots of
> back ends probably do things in floating point anyway. If this is
> common then Cairo could prehaps try to solve this by subtracting these
> offsets so that only small values are passed to the back end, this is
> a solution we have had to do with OpenGL wrappers because of users
> expecting huge translations to work:
>



More information about the cairo mailing list