summaryrefslogtreecommitdiffstats
path: root/bltGrMarkerBitmap.C
diff options
context:
space:
mode:
authorjoye <joye>2014-04-16 19:16:35 (GMT)
committerjoye <joye>2014-04-16 19:16:35 (GMT)
commit8de9835650ca47d192f7976c4d02105fe15aeff7 (patch)
tree89ac598b68c04c8733df558700920e414dada116 /bltGrMarkerBitmap.C
parentecfd4bf4389606427b373f412c6028c6a03b33eb (diff)
downloadblt-8de9835650ca47d192f7976c4d02105fe15aeff7.zip
blt-8de9835650ca47d192f7976c4d02105fe15aeff7.tar.gz
blt-8de9835650ca47d192f7976c4d02105fe15aeff7.tar.bz2
*** empty log message ***
Diffstat (limited to 'bltGrMarkerBitmap.C')
-rw-r--r--bltGrMarkerBitmap.C4
1 files changed, 3 insertions, 1 deletions
diff --git a/bltGrMarkerBitmap.C b/bltGrMarkerBitmap.C
index f6b5650..14b0318 100644
--- a/bltGrMarkerBitmap.C
+++ b/bltGrMarkerBitmap.C
@@ -213,7 +213,9 @@ void BitmapMarker::map()
polygon[ii].x = (polygon[ii].x) + tx;
polygon[ii].y = (polygon[ii].y) + ty;
}
- Blt_GraphExtents(graphPtr_, &extents);
+
+ graphPtr_->extents(&extents);
+
int nn = Blt_PolyRectClip(&extents, polygon, 4, outline_);
if (nn < 3) {
memcpy(&outline_, polygon, sizeof(Point2d) * 4);