tests: Test the arc shape.

This commit is contained in:
Emmanuel Lepage Vallee 2016-08-02 01:04:38 -04:00
parent 2475aa6e9b
commit 15102c1fe9
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
local shape,cr,show = ... --DOC_HIDE
shape.arc(cr,70,70, 10)
show(cr) --DOC_HIDE
shape.arc(cr,70,70, 10, nil, nil, true, true)
show(cr) --DOC_HIDE
shape.arc(cr,70,70, nil, 0, 2*math.pi)
show(cr) --DOC_HIDE