diff options
-rw-r--r-- | src/bltGrElemBar.C | 4 | ||||
-rw-r--r-- | tests/axis.tcl | 5 | ||||
-rw-r--r-- | tests/barelement.tcl | 5 |
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 |