2016-03-10 05:44:00 +01:00
|
|
|
local shape,cr,show = ... --DOC_HIDE
|
|
|
|
|
|
|
|
shape.octogon(cr, 70, 70)
|
|
|
|
show(cr) --DOC_HIDE
|
2016-11-21 22:38:23 +01:00
|
|
|
|
2016-03-10 05:44:00 +01:00
|
|
|
shape.octogon(cr,70,70,70/2.5)
|
|
|
|
show(cr) --DOC_HIDE
|
2016-11-21 22:38:23 +01:00
|
|
|
|
2016-03-10 05:44:00 +01:00
|
|
|
shape.transform(shape.octogon) : translate(0, 25) (cr,70,20)
|
|
|
|
show(cr) --DOC_HIDE
|