tests: Test the pie shape.

This commit is contained in:
Emmanuel Lepage Vallee 2016-07-28 02:19:10 -04:00
parent a027589150
commit d2d2d82af8
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
local shape,cr,show = ... --DOC_HIDE
shape.pie(cr, 70, 70)
show(cr) --DOC_HIDE
shape.pie(cr,70,70, 1.0471975511966, 4.1887902047864)
show(cr) --DOC_HIDE
shape.pie(cr,70,70, 0, 2*math.pi, 10)
show(cr) --DOC_HIDE