<p><br></p><p>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? </p><p><br></p><p>Now the drawing program runs both in Android and iOS mobiles written in C.</p>