blob: 6001e8179f9fa5242882a31c8ed9077ae2ccf70b (
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
26
|
#pragma once
#include "drape_frontend/map_shape.hpp"
#include "drape_frontend/shape_view_params.hpp"
#include "drape/pointers.hpp"
#include "geometry/point2d.hpp"
#include "std/vector.hpp"
namespace df
{
class AreaShape : public MapShape
{
public:
AreaShape(vector<m2::PointF> && triangleList, AreaViewParams const & params);
virtual void Draw(dp::RefPointer<dp::Batcher> batcher, dp::RefPointer<dp::TextureManager> textures) const;
private:
vector<m2::PointF> m_vertexes;
AreaViewParams m_params;
};
} // namespace df
|