[cairo] Drawing an arrow

necko necko opustenom at hotmail.com
Tue Nov 23 08:27:29 PST 2010


A set of 2D coordinates needs be connected by lines, but some of these lines need be arrows;
meaning, the sequence

    cairo_move_to (cr, A.x, A.y);
    cairo_line_to (cr, B.x, B.y);

that draws a line from A to B, needs to be replaced with an arrow from A to B.
Any help on how to achieve this is highly welcome.
Thanks

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20101123/258fcdc1/attachment.html>


More information about the cairo mailing list