summaryrefslogtreecommitdiffstats
path: root/tests/canvas.test
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2004-08-19 14:41:50 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2004-08-19 14:41:50 (GMT)
commit0ace3b7c314b17ca1dd96da0723b954447032286 (patch)
tree43f6b228d89c4d50a99b3df1a4ff37ac609e5c13 /tests/canvas.test
parent427f7c5d94ad60d459bff749820ab8cbbf7809a6 (diff)
downloadtk-0ace3b7c314b17ca1dd96da0723b954447032286.zip
tk-0ace3b7c314b17ca1dd96da0723b954447032286.tar.gz
tk-0ace3b7c314b17ca1dd96da0723b954447032286.tar.bz2
TIP#168 implementation. Based on [Patch 886240]
Diffstat (limited to 'tests/canvas.test')
-rw-r--r--tests/canvas.test12
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/canvas.test b/tests/canvas.test
index efa6b16..84f18b3 100644
--- a/tests/canvas.test
+++ b/tests/canvas.test
@@ -6,7 +6,7 @@
# Copyright (c) 1998-2000 Ajuba Solutions.
# All rights reserved.
#
-# RCS: @(#) $Id: canvas.test,v 1.19 2004/06/15 21:06:40 dkf Exp $
+# RCS: @(#) $Id: canvas.test,v 1.20 2004/08/19 14:41:52 dkf Exp $
package require tcltest 2.1
eval tcltest::configure $argv
@@ -476,6 +476,16 @@ test canvas-16.1 {arc coords check} {
.c itemcget $id -start
} {33.0}
+test canvas-17.1 {default smooth method handling} {
+ destroy .c; canvas .c
+ set id [.c create line {0 0 1 1 2 2 3 3 4 4 5 5 6 6}]
+ set result [.c itemcget $id -smooth]
+ foreach smoother {yes 1 bezier raw r b} {
+ .c itemconfigure $id -smooth $smoother
+ lappend result [.c itemcget $id -smooth]
+ }
+} {0 true true true raw raw true}
+
destroy .c
# cleanup