blob: d3e6b9bede4e745b4a7b0f0d43e72cd66578a418 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#pragma once
#include "map_shape.hpp"
#include "shape_view_params.hpp"
#include "../geometry/spline.hpp"
namespace df
{
class LineShape : public MapShape
{
public:
LineShape(m2::SharedSpline const & spline,
LineViewParams const & params);
virtual void Draw(dp::RefPointer<dp::Batcher> batcher, dp::RefPointer<dp::TextureSetHolder> textures) const;
private:
LineViewParams m_params;
m2::SharedSpline m_spline;
};
} // namespace df
|