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

14 lines
309 B
Lua

--DOC_GEN_IMAGE --DOC_HIDE
local shape,cr,show = ... --DOC_HIDE
shape.squircle(cr, 70, 70, 2)
show(cr) --DOC_HIDE
shape.squircle(cr, 70, 70, 8)
show(cr) --DOC_HIDE
shape.squircle(cr, 70, 70, 1.5)
show(cr) --DOC_HIDE
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80