Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
21
libs/drape_frontend/path_symbol_shape.hpp
Normal file
21
libs/drape_frontend/path_symbol_shape.hpp
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#pragma once
|
||||
|
||||
#include "drape_frontend/map_shape.hpp"
|
||||
#include "drape_frontend/shape_view_params.hpp"
|
||||
|
||||
#include "geometry/spline.hpp"
|
||||
|
||||
namespace df
|
||||
{
|
||||
class PathSymbolShape : public MapShape
|
||||
{
|
||||
public:
|
||||
PathSymbolShape(m2::SharedSpline const & spline, PathSymbolViewParams const & params);
|
||||
void Draw(ref_ptr<dp::GraphicsContext> context, ref_ptr<dp::Batcher> batcher,
|
||||
ref_ptr<dp::TextureManager> textures) const override;
|
||||
|
||||
private:
|
||||
PathSymbolViewParams m_params;
|
||||
m2::SharedSpline m_spline;
|
||||
};
|
||||
} // namespace df
|
||||
Loading…
Add table
Add a link
Reference in a new issue