diff options
Diffstat (limited to 'tksao/frame/base.C')
-rw-r--r-- | tksao/frame/base.C | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/tksao/frame/base.C b/tksao/frame/base.C index e0e97e4..1494385 100644 --- a/tksao/frame/base.C +++ b/tksao/frame/base.C @@ -1135,8 +1135,6 @@ Matrix Base::psMatrix(float scale, int width, int height) return refToUser * userToPS; } -// waj - void Base::pushMatrices(FitsImage* fits, Matrix& rgbToRef) { FitsImage* ptr = fits; @@ -1192,65 +1190,6 @@ void Base::pushPSMatrices(FitsImage* fits, float scale, int width, int height) } } -/* -void Base::pushMatrices() -{ - Matrix rgbToRef; - - FitsImage* ptr = context->fits; - while (ptr) { - FitsImage* sptr = ptr; - while (sptr) { - sptr->updateMatrices(rgbToRef, refToUser, userToWidget, - widgetToCanvas, canvasToWindow); - sptr = sptr->nextSlice(); - } - ptr = ptr->nextMosaic(); - } -} - -void Base::pushMagnifierMatrices() -{ - FitsImage* ptr = context->fits; - while (ptr) { - FitsImage* sptr = ptr; - while (sptr) { - sptr->updateMagnifierMatrices(refToMagnifier); - sptr = sptr->nextSlice(); - } - ptr = ptr->nextMosaic(); - } -} - -void Base::pushPannerMatrices() -{ - FitsImage* ptr = context->fits; - while (ptr) { - FitsImage* sptr = ptr; - while (sptr) { - sptr->updatePannerMatrices(refToPanner); - sptr = sptr->nextSlice(); - } - ptr = ptr->nextMosaic(); - } -} - -void Base::pushPSMatrices(float scale, int width, int height) -{ - Matrix mx = psMatrix(scale, width, height); - - FitsImage* ptr = context->fits; - while (ptr) { - FitsImage* sptr = ptr; - while (sptr) { - sptr->updatePS(mx); - sptr = sptr->nextSlice(); - } - ptr = ptr->nextMosaic(); - } -} -*/ - void Base::reset() { if (!preservePan) |