summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoye <joye>2014-07-02 21:45:05 (GMT)
committerjoye <joye>2014-07-02 21:45:05 (GMT)
commitb7d72e5e164f3fd65ebbfbcf95a1eb42ff45a990 (patch)
tree7751a1d46ca3f9438eaf69842687a509fafc2a06
parent294f3433210ab54840ea2dba6a57c66bd2fa4a92 (diff)
downloadblt-b7d72e5e164f3fd65ebbfbcf95a1eb42ff45a990.zip
blt-b7d72e5e164f3fd65ebbfbcf95a1eb42ff45a990.tar.gz
blt-b7d72e5e164f3fd65ebbfbcf95a1eb42ff45a990.tar.bz2
*** empty log message ***
-rw-r--r--src/bltGrElemBar.C4
-rw-r--r--tests/axis.tcl5
-rw-r--r--tests/barelement.tcl5
3 files changed, 12 insertions, 2 deletions
diff --git a/src/bltGrElemBar.C b/src/bltGrElemBar.C
index f97ffc4..cb002c2 100644
--- a/src/bltGrElemBar.C
+++ b/src/bltGrElemBar.C
@@ -832,7 +832,7 @@ void BarElement::printSymbol(PSOutput* psPtr, double x, double y, int size)
if (pops->outlineColor) {
psPtr->setForeground(pops->outlineColor);
- psPtr->printRectangle(x, y, size-1, size-1);
+ psPtr->printRectangle(x, y, size, size);
}
}
@@ -1266,7 +1266,7 @@ void BarElement::printSegments(PSOutput* psPtr, BarPen* penPtr,
if (pops->outlineColor) {
psPtr->setForeground(pops->outlineColor);
psPtr->printRectangle((double)rp->x, (double)rp->y,
- (int)rp->width - 1, (int)rp->height - 1);
+ (int)rp->width, (int)rp->height);
}
}
}
diff --git a/tests/axis.tcl b/tests/axis.tcl
index 041a300..9fb6af9 100644
--- a/tests/axis.tcl
+++ b/tests/axis.tcl
@@ -48,7 +48,12 @@ bltTest3 $graph axis x -logscale yes $dops
#bltTest3 $graph axis x -max $dops
#bltTest3 $graph axis x -min $dops
#bltTest3 $graph axis x -minorticks $dops
+bltTest3 $graph axis x -relief flat $dops
bltTest3 $graph axis x -relief groove $dops
+bltTest3 $graph axis x -relief raised $dops
+bltTest3 $graph axis x -relief ridge $dops
+bltTest3 $graph axis x -relief solid $dops
+bltTest3 $graph axis x -relief sunken $dops
bltTest3 $graph axis x -rotate 45 $dops
#bltTest3 $graph axis x -scrollcommand $dops
#bltTest3 $graph axis x -scrollincrement $dops
diff --git a/tests/barelement.tcl b/tests/barelement.tcl
index 513a7da..8188f7b 100644
--- a/tests/barelement.tcl
+++ b/tests/barelement.tcl
@@ -34,6 +34,11 @@ bltTest3 $graph element data2 -mapy y2 $dops
bltTest3 $graph element data1 -outline red $dops
bltTest3 $graph element data2 -pen foo $dops
bltTest3 $graph element data2 -relief flat $dops
+bltTest3 $graph element data2 -relief groove $dops
+bltTest3 $graph element data2 -relief raised $dops
+bltTest3 $graph element data2 -relief ridge $dops
+bltTest3 $graph element data2 -relief solid $dops
+bltTest3 $graph element data2 -relief sunken $dops
bltTest3 $graph element data2 -showerrorbars no $dops
bltTest3 $graph element data1 -showvalues none $dops
bltTest3 $graph element data1 -showvalues x $dops