[cairo] Two usage questions( matrix and fill with dash stroke)

Cong Chen CongChen at smarttech.com
Tue Apr 8 07:49:24 PDT 2008


Hi there

 

1.	If I have cairo_matrix_t, any ways that I can get the rotation
angle, scale size and the translation offset from it?

 

2.   When I use cairo_fill_preserve(), then use cairo_stroke() to stroke
the shape with a dash stroke, the fill and stroke overlap and looks
ugly. Any way to make the fill just fill inside the stroke, not overlap
with it?

 

Thanks

 

 

Cong Chen         
Core Assets Developer
SMART Technologies ULC.
* Ph. (403) 769-8762

* congchen at smarttech.com
* www.smarttech.com <http://www.smarttech.com/> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20080408/a92de762/attachment.htm 


More information about the cairo mailing list