|
local shape,cr,show = ... --DOC_HIDE
|
|
|
|
shape.isosceles_triangle(cr, 70, 70)
|
|
show(cr) --DOC_HIDE
|
|
|
|
shape.isosceles_triangle(cr,20,70)
|
|
show(cr) --DOC_HIDE
|
|
|
|
shape.transform(shape.isosceles_triangle) : rotate_at(35, 35, math.pi/2)(cr,70,70)
|
|
show(cr) --DOC_HIDE
|