LibreOffice Module android (master) 1
|
Identifies the tile by its position (x and y coordinate on the document), zoom and tile size (currently static) More...
Public Member Functions | |
TileIdentifier (int x, int y, float zoom, IntSize size) | |
RectF | getRectF () |
Returns a rectangle of the tiles position in scaled coordinates. More... | |
RectF | getCSSRectF () |
Returns a rectangle of the tiles position in non-scaled coordinates (coordinates as the zoom would be 1). More... | |
Rect | getCSSRect () |
Returns an integer rectangle of the tiles position in non-scaled and rounded coordinates (coordinates as the zoom would be 1). More... | |
boolean | equals (Object o) |
int | hashCode () |
String | toString () |
Public Attributes | |
final int | x |
final int | y |
final float | zoom |
final IntSize | size |
Identifies the tile by its position (x and y coordinate on the document), zoom and tile size (currently static)
Definition at line 19 of file TileIdentifier.java.
Definition at line 25 of file TileIdentifier.java.
References org.libreoffice.TileIdentifier.size, org.libreoffice.TileIdentifier.x, org.libreoffice.TileIdentifier.y, and org.libreoffice.TileIdentifier.zoom.
Referenced by org.libreoffice.TileIdentifier.equals().
|
inline |
Definition at line 65 of file TileIdentifier.java.
References Float, getClass(), org.libreoffice.TileIdentifier.TileIdentifier(), org.libreoffice.TileIdentifier.x, org.libreoffice.TileIdentifier.y, and org.libreoffice.TileIdentifier.zoom.
|
inline |
Returns an integer rectangle of the tiles position in non-scaled and rounded coordinates (coordinates as the zoom would be 1).
Definition at line 53 of file TileIdentifier.java.
References org.mozilla.gecko.gfx.IntSize.height, Rect, org.libreoffice.TileIdentifier.size, org.mozilla.gecko.gfx.IntSize.width, org.libreoffice.TileIdentifier.x, org.libreoffice.TileIdentifier.y, and org.libreoffice.TileIdentifier.zoom.
|
inline |
Returns a rectangle of the tiles position in non-scaled coordinates (coordinates as the zoom would be 1).
Definition at line 42 of file TileIdentifier.java.
References org.mozilla.gecko.gfx.IntSize.height, org.libreoffice.TileIdentifier.size, org.mozilla.gecko.gfx.IntSize.width, org.libreoffice.TileIdentifier.x, org.libreoffice.TileIdentifier.y, and org.libreoffice.TileIdentifier.zoom.
|
inline |
Returns a rectangle of the tiles position in scaled coordinates.
Definition at line 35 of file TileIdentifier.java.
References org.mozilla.gecko.gfx.IntSize.height, org.libreoffice.TileIdentifier.size, org.mozilla.gecko.gfx.IntSize.width, org.libreoffice.TileIdentifier.x, and org.libreoffice.TileIdentifier.y.
Referenced by org.mozilla.gecko.gfx.ComposedTileLayer.isStillValid().
|
inline |
Definition at line 79 of file TileIdentifier.java.
References Float, result, org.libreoffice.TileIdentifier.x, org.libreoffice.TileIdentifier.y, and org.libreoffice.TileIdentifier.zoom.
|
inline |
Definition at line 87 of file TileIdentifier.java.
References org.mozilla.gecko.gfx.IntSize.height, org.libreoffice.TileIdentifier.size, String, org.mozilla.gecko.gfx.IntSize.width, org.libreoffice.TileIdentifier.x, org.libreoffice.TileIdentifier.y, and org.libreoffice.TileIdentifier.zoom.
final IntSize org.libreoffice.TileIdentifier.size |
final int org.libreoffice.TileIdentifier.x |
Definition at line 20 of file TileIdentifier.java.
Referenced by org.libreoffice.TileIdentifier.equals(), org.libreoffice.TileIdentifier.getCSSRect(), org.libreoffice.TileIdentifier.getCSSRectF(), org.libreoffice.TileIdentifier.getRectF(), org.libreoffice.TileIdentifier.hashCode(), org.libreoffice.TileIdentifier.TileIdentifier(), and org.libreoffice.TileIdentifier.toString().
final int org.libreoffice.TileIdentifier.y |
Definition at line 21 of file TileIdentifier.java.
Referenced by org.libreoffice.TileIdentifier.equals(), org.libreoffice.TileIdentifier.getCSSRect(), org.libreoffice.TileIdentifier.getCSSRectF(), org.libreoffice.TileIdentifier.getRectF(), org.libreoffice.TileIdentifier.hashCode(), org.libreoffice.TileIdentifier.TileIdentifier(), and org.libreoffice.TileIdentifier.toString().
final float org.libreoffice.TileIdentifier.zoom |
Definition at line 22 of file TileIdentifier.java.
Referenced by org.libreoffice.TileIdentifier.equals(), org.libreoffice.TileIdentifier.getCSSRect(), org.libreoffice.TileIdentifier.getCSSRectF(), org.libreoffice.TileIdentifier.hashCode(), org.libreoffice.TileIdentifier.TileIdentifier(), and org.libreoffice.TileIdentifier.toString().