diff options
author | joye <joye> | 2014-05-06 18:43:52 (GMT) |
---|---|---|
committer | joye <joye> | 2014-05-06 18:43:52 (GMT) |
commit | c054227535fb2153a68ca2b1963deddbb148e19c (patch) | |
tree | ca20a3db5c61b2ae1af119fce5306525bb7d27a5 /src/bltGraph.C | |
parent | b78feb1c2483283e3453fc95ce4b9a99ef3021cc (diff) | |
download | blt-c054227535fb2153a68ca2b1963deddbb148e19c.zip blt-c054227535fb2153a68ca2b1963deddbb148e19c.tar.gz blt-c054227535fb2153a68ca2b1963deddbb148e19c.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'src/bltGraph.C')
-rw-r--r-- | src/bltGraph.C | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/bltGraph.C b/src/bltGraph.C index bdaad2c..210870e 100644 --- a/src/bltGraph.C +++ b/src/bltGraph.C @@ -1293,11 +1293,11 @@ Axis* Graph::nearestAxis(int x, int y) TickLabel *labelPtr = (TickLabel*)Blt_Chain_GetValue(link); double rw, rh; Point2d bbox[5]; - Blt_GetBoundingBox(labelPtr->width, labelPtr->height, - ops->tickAngle, &rw, &rh, bbox); + getBoundingBox(labelPtr->width, labelPtr->height, ops->tickAngle, + &rw, &rh, bbox); Point2d t; - t = Blt_AnchorPoint(labelPtr->anchorPos.x, labelPtr->anchorPos.y, - rw, rh, axisPtr->tickAnchor_); + t = anchorPoint(labelPtr->anchorPos.x, labelPtr->anchorPos.y, + rw, rh, axisPtr->tickAnchor_); t.x = x - t.x - (rw * 0.5); t.y = y - t.y - (rh * 0.5); @@ -1314,9 +1314,9 @@ Axis* Graph::nearestAxis(int x, int y) double rw, rh; Point2d bbox[5]; getTextExtents(ops->titleFont, ops->title, -1, &w, &h); - Blt_GetBoundingBox(w, h, axisPtr->titleAngle_, &rw, &rh, bbox); - Point2d t = Blt_AnchorPoint(axisPtr->titlePos_.x, axisPtr->titlePos_.y, - rw, rh, axisPtr->titleAnchor_); + getBoundingBox(w, h, axisPtr->titleAngle_, &rw, &rh, bbox); + Point2d t = anchorPoint(axisPtr->titlePos_.x, axisPtr->titlePos_.y, + rw, rh, axisPtr->titleAnchor_); // Translate the point so that the 0,0 is the upper left // corner of the bounding box t.x = x - t.x - (rw * 0.5); |