How to texturing a self-defined pattern(or image) along line and fill a polygon?

<[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
I want to use cairo to draw vector-maps, and it shows the strong ability to draw lines and polygons etc., but now I need to texturing a self-defined pattern(may like -^--^--^--^-) along a winding line and fill polygon with it, how should I do? 
Now the drawing program runs both in Android and iOS mobiles written in C.

-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.