MCPcopy Create free account
hub / github.com/comaps/comaps / IsVisible

Method IsVisible

libs/drape_frontend/gui/ruler_helper.cpp:109–113  ·  view source on GitHub ↗

static

Source from the content-addressed store, hash-verified

107
108// static
109bool RulerHelper::IsVisible(ScreenBase const & screen)
110{
111 DrapeGui & gui = DrapeGui::Instance();
112 return !gui.IsCopyrightActive() && df::GetDrawTileScale(screen) >= kVisibleRulerBottomScale;
113}
114
115void RulerHelper::Invalidate()
116{

Callers 2

UpdateMethod · 0.45
RenderMethod · 0.45

Calls 2

GetDrawTileScaleFunction · 0.85
IsCopyrightActiveMethod · 0.80

Tested by

no test coverage detected