summaryrefslogtreecommitdiffstats
path: root/src/bltGraphOp.C
diff options
context:
space:
mode:
authorjoye <joye>2014-04-18 17:56:52 (GMT)
committerjoye <joye>2014-04-18 17:56:52 (GMT)
commite99f62660663d130a8358ec69c3fda614512fd74 (patch)
tree010ca11e365b7d5effb0e745ded66ca02b7c6d33 /src/bltGraphOp.C
parenta42c9243c09c908e0fdbe8eef5784b2fc5e22b39 (diff)
downloadblt-e99f62660663d130a8358ec69c3fda614512fd74.zip
blt-e99f62660663d130a8358ec69c3fda614512fd74.tar.gz
blt-e99f62660663d130a8358ec69c3fda614512fd74.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltGraphOp.C')
-rw-r--r--src/bltGraphOp.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bltGraphOp.C b/src/bltGraphOp.C
index 5fca07c..2798fed 100644
--- a/src/bltGraphOp.C
+++ b/src/bltGraphOp.C
@@ -344,7 +344,7 @@ static int InvtransformOp(Graph* graphPtr, Tcl_Interp* interp, int objc,
Axis2d axes;
axes.x = Blt_GetFirstAxis(graphPtr->axisChain_[0]);
axes.y = Blt_GetFirstAxis(graphPtr->axisChain_[1]);
- Point2d point = Blt_InvMap2D(graphPtr, x, y, &axes);
+ Point2d point = graphPtr->invMap2D(x, y, &axes);
Tcl_Obj* listObjPtr = Tcl_NewListObj(0, (Tcl_Obj **)NULL);
Tcl_ListObjAppendElement(interp, listObjPtr, Tcl_NewDoubleObj(point.x));
@@ -374,7 +374,7 @@ static int TransformOp(Graph* graphPtr, Tcl_Interp* interp, int objc,
axes.x = Blt_GetFirstAxis(graphPtr->axisChain_[0]);
axes.y = Blt_GetFirstAxis(graphPtr->axisChain_[1]);
- Point2d point = Blt_Map2D(graphPtr, x, y, &axes);
+ Point2d point = graphPtr->map2D(x, y, &axes);
Tcl_Obj* listObjPtr = Tcl_NewListObj(0, (Tcl_Obj **)NULL);
Tcl_ListObjAppendElement(interp, listObjPtr, Tcl_NewIntObj(ROUND(point.x)));