summaryrefslogtreecommitdiffstats
path: root/src/bltGrElemBar.C
diff options
context:
space:
mode:
authorjoye <joye>2014-06-27 19:49:47 (GMT)
committerjoye <joye>2014-06-27 19:49:47 (GMT)
commit4c23f3621903e2d983f2925dfa56c8992dec57be (patch)
treebf15efe6503185e79c77901e221039683a2d2013 /src/bltGrElemBar.C
parent90073c46c67c57a7387edb09643617d61450442d (diff)
downloadblt-4c23f3621903e2d983f2925dfa56c8992dec57be.zip
blt-4c23f3621903e2d983f2925dfa56c8992dec57be.tar.gz
blt-4c23f3621903e2d983f2925dfa56c8992dec57be.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltGrElemBar.C')
-rw-r--r--src/bltGrElemBar.C14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/bltGrElemBar.C b/src/bltGrElemBar.C
index ee53f91..3723faf 100644
--- a/src/bltGrElemBar.C
+++ b/src/bltGrElemBar.C
@@ -632,7 +632,7 @@ void BarElement::closest()
Point2d *pp, *pend;
for (pp=outline, pend=outline+4; pp<pend; pp++) {
- Point2d t = Blt_GetProjection(searchPtr->x, searchPtr->y, pp, pp + 1);
+ Point2d t = GetProjection(searchPtr->x, searchPtr->y, pp, pp + 1);
if (t.x > right)
t.x = right;
else if (t.x < left)
@@ -1090,7 +1090,7 @@ void BarElement::mapErrorBars(BarStyle **dataToStyle)
Point2d q = graphPtr_->map2D(low, y, ops->xAxis, ops->yAxis);
segPtr->p = p;
segPtr->q = q;
- if (Blt_LineRectClip(&reg, &segPtr->p, &segPtr->q)) {
+ if (LineRectClip(&reg, &segPtr->p, &segPtr->q)) {
segPtr++;
*indexPtr++ = ii;
}
@@ -1098,7 +1098,7 @@ void BarElement::mapErrorBars(BarStyle **dataToStyle)
segPtr->p.x = segPtr->q.x = p.x;
segPtr->p.y = p.y - stylePtr->errorBarCapWidth;
segPtr->q.y = p.y + stylePtr->errorBarCapWidth;
- if (Blt_LineRectClip(&reg, &segPtr->p, &segPtr->q)) {
+ if (LineRectClip(&reg, &segPtr->p, &segPtr->q)) {
segPtr++;
*indexPtr++ = ii;
}
@@ -1106,7 +1106,7 @@ void BarElement::mapErrorBars(BarStyle **dataToStyle)
segPtr->p.x = segPtr->q.x = q.x;
segPtr->p.y = q.y - stylePtr->errorBarCapWidth;
segPtr->q.y = q.y + stylePtr->errorBarCapWidth;
- if (Blt_LineRectClip(&reg, &segPtr->p, &segPtr->q)) {
+ if (LineRectClip(&reg, &segPtr->p, &segPtr->q)) {
segPtr++;
*indexPtr++ = ii;
}
@@ -1152,7 +1152,7 @@ void BarElement::mapErrorBars(BarStyle **dataToStyle)
Point2d q = graphPtr_->map2D(x, low, ops->xAxis, ops->yAxis);
segPtr->p = p;
segPtr->q = q;
- if (Blt_LineRectClip(&reg, &segPtr->p, &segPtr->q)) {
+ if (LineRectClip(&reg, &segPtr->p, &segPtr->q)) {
segPtr++;
*indexPtr++ = ii;
}
@@ -1160,7 +1160,7 @@ void BarElement::mapErrorBars(BarStyle **dataToStyle)
segPtr->p.y = segPtr->q.y = p.y;
segPtr->p.x = p.x - stylePtr->errorBarCapWidth;
segPtr->q.x = p.x + stylePtr->errorBarCapWidth;
- if (Blt_LineRectClip(&reg, &segPtr->p, &segPtr->q)) {
+ if (LineRectClip(&reg, &segPtr->p, &segPtr->q)) {
segPtr++;
*indexPtr++ = ii;
}
@@ -1168,7 +1168,7 @@ void BarElement::mapErrorBars(BarStyle **dataToStyle)
segPtr->p.y = segPtr->q.y = q.y;
segPtr->p.x = q.x - stylePtr->errorBarCapWidth;
segPtr->q.x = q.x + stylePtr->errorBarCapWidth;
- if (Blt_LineRectClip(&reg, &segPtr->p, &segPtr->q)) {
+ if (LineRectClip(&reg, &segPtr->p, &segPtr->q)) {
segPtr++;
*indexPtr++ = ii;
}