summaryrefslogtreecommitdiffstats
path: root/src/bltGrMisc.C
diff options
context:
space:
mode:
authorjoye <joye>2014-01-08 18:49:45 (GMT)
committerjoye <joye>2014-01-08 18:49:45 (GMT)
commit28149cc169d7259ce89140897ee9856b825d4f02 (patch)
treead32d41c7d8e75f566eaac2a6bff06137dea1f12 /src/bltGrMisc.C
parent5460714985c7f107f5a30d8bc116822fa62a8c58 (diff)
downloadblt-28149cc169d7259ce89140897ee9856b825d4f02.zip
blt-28149cc169d7259ce89140897ee9856b825d4f02.tar.gz
blt-28149cc169d7259ce89140897ee9856b825d4f02.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltGrMisc.C')
-rw-r--r--src/bltGrMisc.C8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bltGrMisc.C b/src/bltGrMisc.C
index 6c5f810..2c3e9c6 100644
--- a/src/bltGrMisc.C
+++ b/src/bltGrMisc.C
@@ -311,12 +311,12 @@ Blt_RegionInPolygon(
void
Blt_GraphExtents(Graph *graphPtr, Region2d *regionPtr)
{
- regionPtr->left = (double)(graphPtr->hOffset - graphPtr->xPad.side1);
- regionPtr->top = (double)(graphPtr->vOffset - graphPtr->yPad.side1);
+ regionPtr->left = (double)(graphPtr->hOffset - graphPtr->xPad);
+ regionPtr->top = (double)(graphPtr->vOffset - graphPtr->yPad);
regionPtr->right = (double)(graphPtr->hOffset + graphPtr->hRange +
- graphPtr->xPad.side2);
+ graphPtr->xPad);
regionPtr->bottom = (double)(graphPtr->vOffset + graphPtr->vRange +
- graphPtr->yPad.side2);
+ graphPtr->yPad);
}
static int