Skip to content

graph solidtriangle

Chris Petersen edited this page Oct 16, 2014 · 1 revision

This function draws a filled 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-solidtriangle g 0.8 0.2 0.5 0.8 0.2 0.1)
Clone this wiki locally