[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

Re: [XaraXtreme-dev] Cairo Port



Jonas,

--On 09 May 2007 10:41 +0200 Jonas Diemer <diemer@xxxxxx> wrote:

Ahh, ok. What about the translatory component (CX,CY)? These are in xlong
format. Is this also a fixed point (e.g 48.16) notation or is it pure
integer?

It's all in the matrix.

You will want to read
http://www.xaraxtreme.org/developers/documentation/co-ordinate_system.html
and http://www.xaraxtreme.org/developers/documentation/the_camelot_rendering_system.html

as background reading. The translation is fixed point in the sense that
all coordinates are fixed point. I can't off the top of my head remember
where the fixed point is in practice though - from memory there is
a define in gconsts.h or similar. Perhaps Luke can help.

Alex