[cairo] Default line width == 2.0?
Calum Robinson
calumr at mac.com
Mon Sep 20 14:32:32 PDT 2004
I have started a CoreGraphics (Mac OS X native drawing API) backend for
Cairo, and so far I have had reasonable success, except for drawing
lines.
The sample app I am using has only 2 Cairo drawing calls in it (taken
from the snippets page):
cairo_move_to (cr, 0.5, 0.1);
cairo_line_to (cr, 0.9, 0.9);
When my CoreGraphics port draws this, is works, only the line is twice
as thick as the screen. At a glance, this appears to be because
CAIRO_GSTATE_LINE_WIDTH_DEFAULT is 2.0, but I get the impression that
lines aren't set up to be twice as think as the default canvas size.
What am I missing?
Calum Robinson
http://homepage.mac.com/calumr
More information about the cairo
mailing list