From a7eb558d496626fca9aba45fedacded9aaaf1cde Mon Sep 17 00:00:00 2001 From: joye Date: Mon, 16 Jun 2014 21:24:14 +0000 Subject: *** empty log message *** --- src/bltGrPSOutput.C | 6 +++--- tests/bitmapmarker.tcl | 7 +++++++ tests/legend.tcl | 7 +++++++ tests/linepen.tcl | 7 +++++++ tests/textmarker.tcl | 7 +++++++ 5 files changed, 31 insertions(+), 3 deletions(-) diff --git a/src/bltGrPSOutput.C b/src/bltGrPSOutput.C index acc6a56..162c551 100644 --- a/src/bltGrPSOutput.C +++ b/src/bltGrPSOutput.C @@ -795,7 +795,7 @@ void PostScript::prolog() " % Stack: x y symbolSize\n" " gsave\n" " 3 -2 roll translate\n" -" 2 idiv\n" +" 2 div\n" " dup 2 copy\n" " newpath \n" " neg 0 \n" @@ -824,8 +824,8 @@ void PostScript::prolog() " % Stack: x y symbolSize\n" " gsave\n" " 3 -2 roll translate\n" -" dup 2 idiv\n" -" exch 6 idiv\n" +" dup 2 div\n" +" exch 6 div\n" "\n" " %\n" " % 2 3 The plus/cross symbol is a\n" diff --git a/tests/bitmapmarker.tcl b/tests/bitmapmarker.tcl index 91fa272..a3ed1d4 100644 --- a/tests/bitmapmarker.tcl +++ b/tests/bitmapmarker.tcl @@ -10,6 +10,13 @@ $graph element configure data1 -hide yes echo "Testing Bitmap Marker..." bltTest3 $graph marker $mm -anchor nw $dops +bltTest3 $graph marker $mm -anchor n $dops +bltTest3 $graph marker $mm -anchor ne $dops +bltTest3 $graph marker $mm -anchor e $dops +bltTest3 $graph marker $mm -anchor se $dops +bltTest3 $graph marker $mm -anchor s $dops +bltTest3 $graph marker $mm -anchor sw $dops +bltTest3 $graph marker $mm -anchor w $dops bltTest3 $graph marker $mm -background yellow $dops bltTest3 $graph marker $mm -bg red $dops bltTest3 $graph marker $mm -bindtags {aa} 0 diff --git a/tests/legend.tcl b/tests/legend.tcl index 15b3411..caa10ba 100644 --- a/tests/legend.tcl +++ b/tests/legend.tcl @@ -13,7 +13,14 @@ echo "Testing Legend..." #bltTest2 $graph legend -activeborderwidth $dops #bltTest2 $graph legend -activeforeground $dops #bltTest2 $graph legend -activerelief $dops +bltTest2 $graph legend -anchor nw $dops +bltTest2 $graph legend -anchor n $dops +bltTest2 $graph legend -anchor ne $dops +bltTest2 $graph legend -anchor e $dops +bltTest2 $graph legend -anchor se $dops bltTest2 $graph legend -anchor s $dops +bltTest2 $graph legend -anchor sw $dops +bltTest2 $graph legend -anchor w $dops bltTest2 $graph legend -bg pink $dops bltTest2 $graph legend -background cyan $dops bltTest2 $graph legend -borderwidth 20 $dops diff --git a/tests/linepen.tcl b/tests/linepen.tcl index 77503f9..8a1dd83 100644 --- a/tests/linepen.tcl +++ b/tests/linepen.tcl @@ -29,7 +29,14 @@ bltTest3 $graph pen foo -symbol scross $dops bltTest3 $graph pen foo -symbol splus $dops bltTest3 $graph pen foo -symbol square $dops bltTest3 $graph pen foo -symbol triangle $dops +bltTest3 $graph pen foo -valueanchor nw $dops bltTest3 $graph pen foo -valueanchor n $dops +bltTest3 $graph pen foo -valueanchor ne $dops +bltTest3 $graph pen foo -valueanchor e $dops +bltTest3 $graph pen foo -valueanchor se $dops +bltTest3 $graph pen foo -valueanchor s $dops +bltTest3 $graph pen foo -valueanchor sw $dops +bltTest3 $graph pen foo -valueanchor w $dops bltTest3 $graph pen foo -valuecolor cyan $dops bltTest3 $graph pen foo -valuefont {times 18 bold italic} $dops bltTest3 $graph pen foo -valueformat "%e" $dops diff --git a/tests/textmarker.tcl b/tests/textmarker.tcl index d44e5dd..f37f35f 100644 --- a/tests/textmarker.tcl +++ b/tests/textmarker.tcl @@ -10,6 +10,13 @@ $graph element configure data1 -hide yes echo "Testing Text Marker..." bltTest3 $graph marker $mm -anchor nw $dops +bltTest3 $graph marker $mm -anchor n $dops +bltTest3 $graph marker $mm -anchor ne $dops +bltTest3 $graph marker $mm -anchor e $dops +bltTest3 $graph marker $mm -anchor se $dops +bltTest3 $graph marker $mm -anchor s $dops +bltTest3 $graph marker $mm -anchor sw $dops +bltTest3 $graph marker $mm -anchor w $dops bltTest3 $graph marker $mm -background yellow $dops bltTest3 $graph marker $mm -bg red $dops bltTest3 $graph marker $mm -bindtags {aa} 0 -- cgit v0.12