libosmscout 0.1
Loading...
Searching...
No Matches
osmscout::ScreenVectorRectangle Struct Reference

#include <LabelLayouterHelper.h>

Public Member Functions

bool Intersects (const ScreenVectorRectangle &other) const
 ScreenVectorRectangle ()=default
 ScreenVectorRectangle (double x, double y, double width, double height)
ScreenVectorRectangle & Set (double nx, double ny, double nw, double nh)

Public Attributes

double height
double width
double x
double y

Constructor & Destructor Documentation

◆ ScreenVectorRectangle() [1/2]

osmscout::ScreenVectorRectangle::ScreenVectorRectangle ( )
default

Referenced by Intersects(), and Set().

◆ ScreenVectorRectangle() [2/2]

osmscout::ScreenVectorRectangle::ScreenVectorRectangle ( double x,
double y,
double width,
double height )
inline

References height, width, x, and y.

Member Function Documentation

◆ Intersects()

bool osmscout::ScreenVectorRectangle::Intersects ( const ScreenVectorRectangle & other) const
inline

◆ Set()

ScreenVectorRectangle & osmscout::ScreenVectorRectangle::Set ( double nx,
double ny,
double nw,
double nh )
inline

Member Data Documentation

◆ height

◆ width

◆ x

◆ y


The documentation for this struct was generated from the following file: