diff options
author | joye <joye> | 2014-06-10 17:37:32 (GMT) |
---|---|---|
committer | joye <joye> | 2014-06-10 17:37:32 (GMT) |
commit | 1f83dd79c049b738a5ac3579134ab0a951a1594f (patch) | |
tree | 6b5ac5f11bbcd9bdef66710edbe8ea6eb502e4cf /src | |
parent | 6a6a8a4a2a325244e3f2dbd46c8d4288812ceaa3 (diff) | |
download | blt-1f83dd79c049b738a5ac3579134ab0a951a1594f.zip blt-1f83dd79c049b738a5ac3579134ab0a951a1594f.tar.gz blt-1f83dd79c049b738a5ac3579134ab0a951a1594f.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r-- | src/bltGrPSOutput.C | 4 | ||||
-rw-r--r-- | src/bltGrText.C | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/bltGrPSOutput.C b/src/bltGrPSOutput.C index 9337ec2..1833477 100644 --- a/src/bltGrPSOutput.C +++ b/src/bltGrPSOutput.C @@ -815,7 +815,9 @@ void PostScript::prolog() "} def\n" "\n" "/DrawText {\n" -" moveto\n" +" translate\n" +" neg rotate\n" +" 0 0 moveto\n" " {\n" " {\n" " gsave\n" diff --git a/src/bltGrText.C b/src/bltGrText.C index 33b350f..e3cdb77 100644 --- a/src/bltGrText.C +++ b/src/bltGrText.C @@ -150,8 +150,7 @@ void TextStyle::printText(PostScript* psPtr, const char *text, int x, int y) const char* ss = Tcl_GetStringResult(graphPtr_->interp_); psPtr->append(ss); Tcl_ResetResult(graphPtr_->interp_); - psPtr->format("] %d %d \n", x, y); - psPtr->format(" DrawText\n"); + psPtr->format("] %g %d %d DrawText\n", ops->angle, x, y); // psPtr->format("] %d %g %g %s %s DrawText\n", fm.linespace, xx/-2.0, yy/2.0, justify, "false"); psPtr->append("grestore\n"); |