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

13 lines
316 B
Lua
Raw Normal View History

local shape,cr,show = ... --DOC_HIDE
shape.arrow(cr, 70, 70)
show(cr) --DOC_HIDE
shape.arrow(cr,70,70, 30, 10, 60)
show(cr) --DOC_HIDE
shape.transform(shape.arrow) : rotate_at(35,35,math.pi/2)(cr,70,70)
show(cr) --DOC_HIDE
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80