summaryrefslogtreecommitdiffstats
path: root/tests/linepen.tcl
diff options
context:
space:
mode:
authorjoye <joye>2014-05-20 19:08:57 (GMT)
committerjoye <joye>2014-05-20 19:08:57 (GMT)
commit558d13bd64d9b121b2d8aa38b19527eac75302f8 (patch)
tree25f2c4df41944e73f0c8166e26a0d0b20277e547 /tests/linepen.tcl
parentb8968fb771ec905f3dd6d9de54fe96478b9c46b3 (diff)
downloadblt-558d13bd64d9b121b2d8aa38b19527eac75302f8.zip
blt-558d13bd64d9b121b2d8aa38b19527eac75302f8.tar.gz
blt-558d13bd64d9b121b2d8aa38b19527eac75302f8.tar.bz2
*** empty log message ***
Diffstat (limited to 'tests/linepen.tcl')
-rw-r--r--tests/linepen.tcl25
1 files changed, 17 insertions, 8 deletions
diff --git a/tests/linepen.tcl b/tests/linepen.tcl
index 38b29fc..e3f5634 100644
--- a/tests/linepen.tcl
+++ b/tests/linepen.tcl
@@ -3,23 +3,32 @@ source base.tcl
set w .line
set graph [bltLineGraph $w]
-$graph pen create foo -showvalues y -symbol circle -dashes "8 4"
+$graph pen create foo -color red -showvalues y -symbol circle -dashes {4 4}
$graph element configure data2 -pen foo
echo "Testing Line Pen..."
-bltTest3 $graph pen foo -color red
-bltTest3 $graph pen foo -dashes "5 8 3"
-bltTest3 $graph pen foo -errorbarcolor yellow
+bltTest3 $graph pen foo -color yellow
+bltTest3 $graph pen foo -dashes {8 3}
+bltTest3 $graph pen foo -errorbarcolor green
bltTest3 $graph pen foo -errorbarwidth 2
-bltTest3 $graph pen foo -fill green
-bltTest3 $graph pen foo -linewidth 2
-bltTest3 $graph pen foo -offdash yellow
+bltTest3 $graph pen foo -errorbarcap 10
+bltTest3 $graph pen foo -fill cyan
+bltTest3 $graph pen foo -linewidth 3
+bltTest3 $graph pen foo -offdash black
bltTest3 $graph pen foo -outline green
-bltTest3 $graph pen foo -outlinewidth 2
+bltTest3 $graph pen foo -outlinewidth 5
bltTest3 $graph pen foo -pixels 20
bltTest3 $graph pen foo -showvalues none
+bltTest3 $graph pen foo -symbol arrow
+bltTest3 $graph pen foo -symbol cross
+bltTest3 $graph pen foo -symbol diamond
+bltTest3 $graph pen foo -symbol none
+bltTest3 $graph pen foo -symbol plus
+bltTest3 $graph pen foo -symbol scross
+bltTest3 $graph pen foo -symbol splus
bltTest3 $graph pen foo -symbol square
+bltTest3 $graph pen foo -symbol triangle
bltTest3 $graph pen foo -valueanchor n
bltTest3 $graph pen foo -valuecolor cyan
bltTest3 $graph pen foo -valuefont "times 18 bold italic"