awesome/tests/examples/gears/shape/circle.lua

11 lines
206 B
Lua

local shape,cr,show = ... --DOC_HIDE
shape.circle(cr, 70, 70)
show(cr) --DOC_HIDE
shape.circle(cr,20,70)
show(cr) --DOC_HIDE
shape.transform(shape.circle) : scale(0.5, 1)(cr,70,70)
show(cr) --DOC_HIDE