diff options
author | joye <joye> | 2014-03-18 22:00:12 (GMT) |
---|---|---|
committer | joye <joye> | 2014-03-18 22:00:12 (GMT) |
commit | a8bc2f7de95eda88c7eaf8afbc9aa7837703fdf6 (patch) | |
tree | 7750508182748e4486ec692f1ebb289e95bf5fba /tests | |
parent | 57329c620b5b44aaf32c8d4d96ca95781a64136e (diff) | |
download | blt-a8bc2f7de95eda88c7eaf8afbc9aa7837703fdf6.zip blt-a8bc2f7de95eda88c7eaf8afbc9aa7837703fdf6.tar.gz blt-a8bc2f7de95eda88c7eaf8afbc9aa7837703fdf6.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bitmapmarker.tcl | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/bitmapmarker.tcl b/tests/bitmapmarker.tcl new file mode 100644 index 0000000..04418ae --- /dev/null +++ b/tests/bitmapmarker.tcl @@ -0,0 +1,31 @@ +source base.tcl + +set w .line +set graph [bltLineGraph $w] + +set mm [$graph marker create bitmap tt -element data1 \ + -coords {1.5 100} -bitmap error] + +bltTest3 $graph marker $mm -anchor nw +bltTest3 $graph marker $mm -background yellow +bltTest3 $graph marker $mm -bg red +#bltTest3 $graph marker $mm -bindtags +bltTest3 $graph marker $mm -bitmap hourglass +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 -foreground blue +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 -rotate 45 +bltTest3 $graph marker $mm -state disabled +bltTest3 $graph marker $mm -under yes +bltTest3 $graph marker $mm -xoffset 20 +bltTest3 $graph marker $mm -yoffset 20 + +echo "done" +bltPlotDestroy $w + |