public interface DeformableViewer
ZoomPaneviewer is capable to show a magnifying glass on top of the usual content. The presence of a magnifying glass deforms the viewer in that the apparent position of pixels within the glass are moved. This interface allows for corrections of apparent pixel position in order to get the position we would have if no deformations existed.
Defined in the
void correctApparentPixelPosition(Point2D point)
pointis outside the deformed area (for example outside the magnifying glass), then this method do nothing.
pointin such a way that it contains the position that the same pixel would have in the absence of deformations.
point- On input, a pixel coordinate as it appears on the screen. On output, the coordinate that the same pixel would have if the deformation wasn't presents.
Copyright © 2009–2017 Geotoolkit.org. All rights reserved.