Uses of Class
org.openstreetmap.josm.gui.layer.geoimage.ImageDisplay.VisRect
-
Packages that use ImageDisplay.VisRect Package Description org.openstreetmap.josm.gui.layer.geoimage Provides classes for handling layers displaying geotagged pictures.org.openstreetmap.josm.gui.layer.geoimage.viewers.projections -
-
Uses of ImageDisplay.VisRect in org.openstreetmap.josm.gui.layer.geoimage
Fields in org.openstreetmap.josm.gui.layer.geoimage declared as ImageDisplay.VisRect Modifier and Type Field Description private ImageDisplay.VisRect
ImageDisplay. selectedRect
When a selection is done, the rectangle of the selection (in image coordinates)private ImageDisplay.VisRect
ImageDisplay. visibleRect
The rectangle (in image coordinates) of the image that is visible.Methods in org.openstreetmap.josm.gui.layer.geoimage that return ImageDisplay.VisRect Modifier and Type Method Description (package private) static ImageDisplay.VisRect
ImageDisplay. calculateDrawImageRectangle(ImageDisplay.VisRect visibleRect, java.awt.Dimension compSize)
calculateDrawImageRectangle(package private) static ImageDisplay.VisRect
ImageDisplay. calculateDrawImageRectangle(ImageDisplay.VisRect imgRect, java.awt.Rectangle compRect)
calculateDrawImageRectangleMethods in org.openstreetmap.josm.gui.layer.geoimage with parameters of type ImageDisplay.VisRect Modifier and Type Method Description (package private) static ImageDisplay.VisRect
ImageDisplay. calculateDrawImageRectangle(ImageDisplay.VisRect visibleRect, java.awt.Dimension compSize)
calculateDrawImageRectangle(package private) static ImageDisplay.VisRect
ImageDisplay. calculateDrawImageRectangle(ImageDisplay.VisRect imgRect, java.awt.Rectangle compRect)
calculateDrawImageRectangle(package private) static java.awt.Point
ImageDisplay. comp2imgCoord(ImageDisplay.VisRect visibleRect, int xComp, int yComp, java.awt.Dimension compSize)
(package private) static java.awt.Point
ImageDisplay. img2compCoord(ImageDisplay.VisRect visibleRect, int xImg, int yImg, java.awt.Dimension compSize)
private void
ImageDisplay. paintSelectedRect(java.awt.Graphics g, java.awt.Rectangle target, ImageDisplay.VisRect visibleRectTemp, java.awt.Dimension size)
Paint the selected rectangleConstructors in org.openstreetmap.josm.gui.layer.geoimage with parameters of type ImageDisplay.VisRect Constructor Description VisRect(int x, int y, int width, int height, ImageDisplay.VisRect peer)
Constructs a newVisRect
.VisRect(ImageDisplay.VisRect v)
Constructs a newVisRect
from another one. -
Uses of ImageDisplay.VisRect in org.openstreetmap.josm.gui.layer.geoimage.viewers.projections
Methods in org.openstreetmap.josm.gui.layer.geoimage.viewers.projections that return ImageDisplay.VisRect Modifier and Type Method Description ImageDisplay.VisRect
Equirectangular. getDefaultVisibleRectangle(java.awt.Component component, java.awt.Image image)
ImageDisplay.VisRect
IImageViewer. getDefaultVisibleRectangle(java.awt.Component component, java.awt.Image image)
Get the default visible rectangle for the projectionImageDisplay.VisRect
Perspective. getDefaultVisibleRectangle(java.awt.Component component, java.awt.Image image)
Methods in org.openstreetmap.josm.gui.layer.geoimage.viewers.projections with parameters of type ImageDisplay.VisRect Modifier and Type Method Description void
Equirectangular. checkAndModifyVisibleRectSize(java.awt.Image image, ImageDisplay.VisRect visibleRect)
default void
IImageViewer. checkAndModifyVisibleRectSize(java.awt.Image image, ImageDisplay.VisRect visibleRect)
Check and modify the visible rect size to appropriate dimensionsvoid
Equirectangular. mouseDragged(java.awt.Point from, java.awt.Point to, ImageDisplay.VisRect currentVisibleRect)
default void
IImageViewer. mouseDragged(java.awt.Point from, java.awt.Point to, ImageDisplay.VisRect currentVisibleRect)
Indicate that the mouse has been dragged to a point
-