diff options
author | joye <joye> | 2014-06-16 20:50:14 (GMT) |
---|---|---|
committer | joye <joye> | 2014-06-16 20:50:14 (GMT) |
commit | 8aef4616ec292fca86f5a41dacedeefd60cc8e49 (patch) | |
tree | da8c3f232287290437a8811beee6ba7d40041226 | |
parent | c5902b724705fea4d415314270264a392dcaa136 (diff) | |
download | blt-8aef4616ec292fca86f5a41dacedeefd60cc8e49.zip blt-8aef4616ec292fca86f5a41dacedeefd60cc8e49.tar.gz blt-8aef4616ec292fca86f5a41dacedeefd60cc8e49.tar.bz2 |
*** empty log message ***
-rw-r--r-- | src/bltGraph.C | 4 | ||||
-rw-r--r-- | tests/textmarker.tcl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/bltGraph.C b/src/bltGraph.C index d7456d9..a27f2f3 100644 --- a/src/bltGraph.C +++ b/src/bltGraph.C @@ -815,8 +815,8 @@ void Graph::printMarkers(PostScript* psPtr, int under) if (isElementHidden(markerPtr)) continue; - psPtr->varAppend("\n% Marker \"", markerPtr->name_, - "\" is a ", markerPtr->className(), ".\n", NULL); + psPtr->format("%% Marker \"%s\" is a %s.\n", + markerPtr->name_, markerPtr->className()); markerPtr->print(psPtr); } } diff --git a/tests/textmarker.tcl b/tests/textmarker.tcl index 28706aa..d44e5dd 100644 --- a/tests/textmarker.tcl +++ b/tests/textmarker.tcl @@ -4,7 +4,7 @@ set w .line set graph [bltLineGraph $w] set mm [$graph marker create text tt -element data2 \ - -coords {1.5 100} -text "Text\nMarker" -font {24}] + -coords {1. 112} -text "Text\nMarker" -font {helvetica 24}] $graph element configure data1 -hide yes echo "Testing Text Marker..." @@ -19,7 +19,7 @@ bltTest3 $graph marker $mm -fg cyan $dops bltTest3 $graph marker $mm -fill yellow $dops bltTest3 $graph marker $mm -font {times 24 bold italic} $dops bltTest3 $graph marker $mm -foreground blue $dops -bltTest3 $graph marker $mm -justify left $dops +bltTest3 $graph marker $mm -justify right $dops bltTest3 $graph marker $mm -hide yes $dops bltTest3 $graph marker $mm -mapx x2 $dops bltTest3 $graph marker $mm -mapy y2 $dops |