From cairo Sun Jun 08 21:51:53 2008 From: Holger Berndt Date: Sun, 08 Jun 2008 21:51:53 +0000 To: cairo Subject: Re: [cairo] Line widths and coordinate system transformations Message-Id: <20080608235153.1dd194c1 () wodan> X-MARC-Message: https://marc.info/?l=cairo&m=121296192021879 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