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

11 lines
216 B
Lua
Raw Normal View History

2016-07-28 08:19:10 +02:00
local shape,cr,show = ... --DOC_HIDE
shape.pie(cr, 70, 70)
show(cr) --DOC_HIDE
2016-07-28 08:19:10 +02:00
shape.pie(cr,70,70, 1.0471975511966, 4.1887902047864)
show(cr) --DOC_HIDE
2016-07-28 08:19:10 +02:00
shape.pie(cr,70,70, 0, 2*math.pi, 10)
show(cr) --DOC_HIDE