2016-03-10 05:44:00 +01:00
|
|
|
local shape,cr,show = ... --DOC_HIDE
|
|
|
|
|
|
|
|
shape.rounded_rect(cr, 70, 70, 10)
|
|
|
|
show(cr) --DOC_HIDE
|
2016-11-21 22:38:23 +01:00
|
|
|
|
2016-03-10 05:44:00 +01:00
|
|
|
shape.rounded_rect(cr,20,70, 5)
|
|
|
|
show(cr) --DOC_HIDE
|
2016-11-21 22:38:23 +01:00
|
|
|
|
2016-03-10 05:44:00 +01:00
|
|
|
shape.transform(shape.rounded_rect) : translate(0,25) (cr,70,20, 5)
|
|
|
|
show(cr) --DOC_HIDE
|
2016-12-31 13:59:38 +01:00
|
|
|
|
|
|
|
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|