[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo
Subject:    Re: [cairo] Line widths and coordinate system transformations
From:       Holger Berndt <berndth () gmx ! de>
Date:       2008-06-08 21:51:53
Message-ID: 20080608235153.1dd194c1 () wodan
[Download RAW message or body]

Hi Behdad,

>> Thanks a lot, Dirk and Simon. Having different scalings during path
>> creation and stroking of course does the trick. Awesome!
>
>So to summarize, this is what you want:
>
>cairo_save (cr);
>cairo_identity_matrix (cr);
>cairo_set_line_width (cr, line_width);
>cairo_stroke (cr);
>cairo_restore (cr);

Yes, that's one way to do it. It's indeed a very flexible way to deal
with drawing.

Holger
_______________________________________________
cairo mailing list
cairo@cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic