graph triangle - part-cw/lambdanative GitHub Wiki
(graph-triangle g x1 y1 x2 y2 x3 y3)
This function draws an open triangle between the three specified vertices, using the current pen properties.
Parameter | Description |
---|---|
g | graph context |
x1,y1 | first triangle vertex |
x2,y2 | second triangle vertex |
x3,y3 | third triangle vertex |
Example
(graph-triangle g 0.8 0.2 0.5 0.8 0.2 0.1)