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

List:       cairo
Subject:    Re: [cairo] Line widths and coordinate system transformations
From:       Behdad Esfahbod <behdad () behdad ! org>
Date:       2008-06-05 17:39:07
Message-ID: 1212687547.16988.184.camel () behdad ! behdad ! org
[Download RAW message or body]

On Thu, 2008-06-05 at 16:25 +0200, Holger Berndt wrote:
> 
> 
> 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);


> Holger
-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759

_______________________________________________
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