From 8aef4616ec292fca86f5a41dacedeefd60cc8e49 Mon Sep 17 00:00:00 2001 From: joye Date: Mon, 16 Jun 2014 20:50:14 +0000 Subject: *** empty log message *** --- src/bltGraph.C | 4 ++-- 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 -- cgit v0.12