QGIS API Documentation
3.18.1-Zürich (202f1bf7e5)
|
Range of tiles in a tile matrix to be rendered. More...
#include <qgstiles.h>
Public Member Functions | |
QgsTileRange (int c1=-1, int c2=-1, int r1=-1, int r2=-1) | |
Constructs a range of tiles from given span of columns and rows. More... | |
int | endColumn () const |
Returns index of the last column in the range. More... | |
int | endRow () const |
Returns index of the last row in the range. More... | |
bool | isValid () const |
Returns whether the range is valid (when all row/column numbers are not negative) More... | |
int | startColumn () const |
Returns index of the first column in the range. More... | |
int | startRow () const |
Returns index of the first row in the range. More... | |
Range of tiles in a tile matrix to be rendered.
The selection is rectangular, given by start/end row and column numbers.
Definition at line 65 of file qgstiles.h.
|
inline |
Constructs a range of tiles from given span of columns and rows.
Definition at line 69 of file qgstiles.h.
|
inline |
Returns index of the last column in the range.
Definition at line 78 of file qgstiles.h.
|
inline |
Returns index of the last row in the range.
Definition at line 82 of file qgstiles.h.
|
inline |
Returns whether the range is valid (when all row/column numbers are not negative)
Definition at line 73 of file qgstiles.h.
|
inline |
Returns index of the first column in the range.
Definition at line 76 of file qgstiles.h.
|
inline |
Returns index of the first row in the range.
Definition at line 80 of file qgstiles.h.