diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-03-26 16:29:46 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-03-26 16:29:46 (GMT) |
commit | e59c06603d7488904582b21295cdaca0cbd373f3 (patch) | |
tree | f267461f9a0efb0a2353e5f3e8b471cd79585969 /tksao/frame/base.C | |
parent | 0bf0390422ce5ef4e7ff372d42c9983c62ddebe3 (diff) | |
download | blt-e59c06603d7488904582b21295cdaca0cbd373f3.zip blt-e59c06603d7488904582b21295cdaca0cbd373f3.tar.gz blt-e59c06603d7488904582b21295cdaca0cbd373f3.tar.bz2 |
only render contours in bbox
Diffstat (limited to 'tksao/frame/base.C')
-rw-r--r-- | tksao/frame/base.C | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tksao/frame/base.C b/tksao/frame/base.C index d3ffb38..8179ee5 100644 --- a/tksao/frame/base.C +++ b/tksao/frame/base.C @@ -1715,8 +1715,8 @@ void Base::updateMagnifier(const Vector& vv) // render contours // needs to before markers if marker is filled - currentContext->contourX11(magnifierPixmap, Coord::MAGNIFIER, - magnifierWidth, magnifierHeight); + currentContext->contourX11(magnifierPixmap, Coord::MAGNIFIER, + bbox(0,0,magnifierWidth,magnifierHeight)); if (showMarkers) { x11MagnifierMarkers(&userMarkers, bb); @@ -1956,8 +1956,7 @@ void Base::updatePM(const BBox& bbox) // contours // needs to before markers if marker is filled - currentContext->contourX11(pixmap, Coord::WIDGET, - options->width, options->height); + currentContext->contourX11(pixmap, Coord::WIDGET, bbox); // markers if (showMarkers) { @@ -1975,7 +1974,7 @@ void Base::updatePM(const BBox& bbox) if (useCrosshair) x11Crosshair(pixmap, Coord::WIDGET, options->width, options->height); - // highlite bbox + // highlite bbox/compass x11Graphics(); if (DebugPerf) |