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

Method AddShape

libs/drape_frontend/gui/shape.cpp:134–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134void ShapeRenderer::AddShape(dp::RenderState const & state, drape_ptr<dp::RenderBucket> && bucket)
135{
136 m_shapes.emplace_back(ShapeControl());
137 m_shapes.back().AddShape(state, std::move(bucket));
138}
139
140void ShapeRenderer::AddShapeControl(ShapeControl && control)
141{

Callers

nothing calls this directly

Calls 8

ShapeControlClass · 0.85
ASSERTFunction · 0.85
backMethod · 0.80
PopOverlayHandleMethod · 0.80
getMethod · 0.65
emplace_backMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected