[cairo] integer world coordinate system

M.R. makrober at gmail.com
Tue Aug 17 23:17:04 PDT 2010


We are evaluating options for graphics on a new project. Cairo is
high on the list, with one potential problem:

The application area 2-D "world-space" is in our application in
"display surface scaled" integer coordinates. As far as I can
determine from the documentation, Cairo requires, with no possibility
to circumvent this, that vertices of drawing primitives be given to
it in doubles. Am I correct? Is there any way to circumvent this and
communicate with Cairo directly in integer, display-surface scaled
coordinates?

Marko R.


More information about the cairo mailing list