libosmscout
0.1
|
#include <LabelLayouterHelper.h>
Public Member Functions | |
void | AddMask (const ScreenRectMask &mask) |
bool | HasCollision (const ScreenRectMask &mask) const |
ScreenMask (size_t width, size_t height) | |
osmscout::ScreenMask::ScreenMask | ( | size_t | width, |
size_t | height | ||
) |
void osmscout::ScreenMask::AddMask | ( | const ScreenRectMask & | mask | ) |
References osmscout::ScreenRectMask::GetCell(), osmscout::ScreenRectMask::GetFirstCell(), osmscout::ScreenRectMask::GetFirstRow(), osmscout::ScreenRectMask::GetLastCell(), and osmscout::ScreenRectMask::GetLastRow().
Referenced by osmscout::LabelLayouter< NativeGlyph, NativeLabel, TextLayouter >::LayoutJob::ProcessLabelContourLabel().
bool osmscout::ScreenMask::HasCollision | ( | const ScreenRectMask & | mask | ) | const |
References osmscout::ScreenRectMask::GetCell(), osmscout::ScreenRectMask::GetFirstCell(), osmscout::ScreenRectMask::GetFirstRow(), osmscout::ScreenRectMask::GetLastCell(), and osmscout::ScreenRectMask::GetLastRow().
Referenced by osmscout::LabelLayouter< NativeGlyph, NativeLabel, TextLayouter >::LayoutJob::ProcessLabelContourLabel(), and osmscout::LabelLayouter< NativeGlyph, NativeLabel, TextLayouter >::LayoutJob::ProcessLabelInstance().