summaryrefslogtreecommitdiffstats
path: root/src/bltGraph.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/bltGraph.C')
-rw-r--r--src/bltGraph.C18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/bltGraph.C b/src/bltGraph.C
index 6050f96..980f02e 100644
--- a/src/bltGraph.C
+++ b/src/bltGraph.C
@@ -586,14 +586,16 @@ void Graph::printMargins(PostScript* psPtr)
psPtr->append("% Margins\n");
psPtr->fillRectangles(margin, 4);
- psPtr->append("% Interior 3D border\n");
- if (ops->plotBW > 0) {
- int x = left_ - ops->plotBW;
- int y = top_ - ops->plotBW;
- int w = (right_ - left_) + (2*ops->plotBW);
- int h = (bottom_ - top_) + (2*ops->plotBW);
- psPtr->print3DRectangle(ops->normalBg, (double)x, (double)y, w, h,
- ops->plotBW, ops->plotRelief);
+ if (pops->decorations) {
+ psPtr->append("% Interior 3D border\n");
+ if (ops->plotBW > 0) {
+ int x = left_ - ops->plotBW;
+ int y = top_ - ops->plotBW;
+ int w = (right_ - left_) + (2*ops->plotBW);
+ int h = (bottom_ - top_) + (2*ops->plotBW);
+ psPtr->print3DRectangle(ops->normalBg, (double)x, (double)y, w, h,
+ ops->plotBW, ops->plotRelief);
+ }
}
if (ops->title) {