tests: Test the arc shape.
This commit is contained in:
parent
2475aa6e9b
commit
15102c1fe9
|
@ -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
|
Loading…
Reference in New Issue