1#ifndef OSMSCOUT_MAP_LABELLAYOUTERHELPER_H
2#define OSMSCOUT_MAP_LABELLAYOUTERHELPER_H
66 x > (other.
x + other.
width-1) ||
124 std::vector<uint64_t> bitmask;
180 std::vector<uint64_t> bitmask;
#define CLASS_FINAL
Definition Compiler.h:26
#define OSMSCOUT_MAP_API
Definition MapImportExport.h:45
int GetLastCell() const
Definition LabelLayouterHelper.h:161
bool HasCollision(const ScreenRectMask &mask) const
int GetFirstRow() const
Definition LabelLayouterHelper.h:137
uint64_t GetCell(size_t idx) const
bool Intersects(const ScreenRectMask &other) const
int GetLastRow() const
Definition LabelLayouterHelper.h:145
ScreenMask(size_t width, size_t height)
ScreenRectMask(size_t screenWidth, const ScreenPixelRectangle &rect)
void AddMask(const ScreenRectMask &mask)
int GetFirstCell() const
Definition LabelLayouterHelper.h:153
Definition LabelLayouterHelper.h:38
int y
Definition LabelLayouterHelper.h:40
int x
Definition LabelLayouterHelper.h:39
int height
Definition LabelLayouterHelper.h:42
ScreenPixelRectangle(int x, int y, int width, int height)
Definition LabelLayouterHelper.h:47
ScreenPixelRectangle()=default
bool Intersects(const ScreenPixelRectangle &other) const
Definition LabelLayouterHelper.h:62
int width
Definition LabelLayouterHelper.h:41
ScreenVectorRectangle(double x, double y, double width, double height)
Definition LabelLayouterHelper.h:82
double x
Definition LabelLayouterHelper.h:74
ScreenVectorRectangle()=default
double y
Definition LabelLayouterHelper.h:75
double width
Definition LabelLayouterHelper.h:76
ScreenVectorRectangle & Set(double nx, double ny, double nw, double nh)
Definition LabelLayouterHelper.h:90
bool Intersects(const ScreenVectorRectangle &other) const
Definition LabelLayouterHelper.h:100
double height
Definition LabelLayouterHelper.h:77