|
libosmscout 1.1.1
|
#include <libosmscout-map/include/osmscoutmap/LabelLayouterHelper.h>
Public Member Functions | |
| ScreenPixelRectangle ()=default | |
| ScreenPixelRectangle (int x, int y, int width, int height) | |
| bool | Intersects (const ScreenPixelRectangle &other) const |
Public Attributes | |
| int | x |
| int | y |
| int | width |
| int | height |
|
default |
|
inline |
|
inline |
Returns true , if the area of the rectangles intersect. The area is defined by area including [x-x+width-1] and [y,y+height-1]. x+width or y+height is outside the rectangle.
| other | rectangle |
| int osmscout::ScreenPixelRectangle::height |
| int osmscout::ScreenPixelRectangle::width |
| int osmscout::ScreenPixelRectangle::x |
| int osmscout::ScreenPixelRectangle::y |