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

Method CacheRuler

libs/drape_frontend/gui/layer_render.cpp:348–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

346}
347
348void LayerCacher::CacheRuler(ref_ptr<dp::GraphicsContext> context, Position const & position,
349 ref_ptr<LayerRenderer> renderer, ref_ptr<dp::TextureManager> textures)
350{
351 renderer->AddShapeRenderer(WIDGET_RULER, Ruler(position).Draw(context, textures));
352}
353
354void LayerCacher::CacheCopyright(ref_ptr<dp::GraphicsContext> context, Position const & position,
355 ref_ptr<LayerRenderer> renderer, ref_ptr<dp::TextureManager> textures)

Callers

nothing calls this directly

Calls 3

AddShapeRendererMethod · 0.80
RulerClass · 0.70
DrawMethod · 0.45

Tested by

no test coverage detected