summaryrefslogtreecommitdiffstats
path: root/tests/textmarker.tcl
diff options
context:
space:
mode:
authorjoye <joye>2014-03-18 21:09:38 (GMT)
committerjoye <joye>2014-03-18 21:09:38 (GMT)
commit57329c620b5b44aaf32c8d4d96ca95781a64136e (patch)
tree539f5fa9ae0501f8bb57ffc6c185dd8925eeeb36 /tests/textmarker.tcl
parent381a52e47a7964fc9065bbecfb18e8995a27d24e (diff)
downloadblt-57329c620b5b44aaf32c8d4d96ca95781a64136e.zip
blt-57329c620b5b44aaf32c8d4d96ca95781a64136e.tar.gz
blt-57329c620b5b44aaf32c8d4d96ca95781a64136e.tar.bz2
*** empty log message ***
Diffstat (limited to 'tests/textmarker.tcl')
-rw-r--r--tests/textmarker.tcl35
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/textmarker.tcl b/tests/textmarker.tcl
new file mode 100644
index 0000000..7e37e94
--- /dev/null
+++ b/tests/textmarker.tcl
@@ -0,0 +1,35 @@
+source base.tcl
+
+set w .line
+set graph [bltLineGraph $w]
+
+set mm [$graph marker create text tt -element data1 \
+ -coords {1.5 100} -text {Text Marker} -font {24}]
+
+bltTest3 $graph marker $mm -anchor nw
+bltTest3 $graph marker $mm -background blue
+bltTest3 $graph marker $mm -bg red
+#bltTest3 $graph marker $mm -bindtags
+bltTest3 $graph marker $mm -coords {1 50}
+bltTest3 $graph marker $mm -element data2
+bltTest3 $graph marker $mm -fg cyan
+bltTest3 $graph marker $mm -fill yellow
+bltTest3 $graph marker $mm -font {times 24 bold italic}
+bltTest3 $graph marker $mm -foreground red
+bltTest3 $graph marker $mm -justify right
+bltTest3 $graph marker $mm -hide yes
+bltTest3 $graph marker $mm -mapx x
+bltTest3 $graph marker $mm -mapy y
+bltTest3 $graph marker $mm -outline green
+bltTest3 $graph marker $mm -padx 10
+bltTest3 $graph marker $mm -pady 10
+bltTest3 $graph marker $mm -rotate 45
+bltTest3 $graph marker $mm -state disabled
+bltTest3 $graph marker $mm -text {Hello World}
+bltTest3 $graph marker $mm -under yes
+bltTest3 $graph marker $mm -xoffset 20
+bltTest3 $graph marker $mm -yoffset 20
+
+echo "done"
+bltPlotDestroy $w
+