Welcome to mirror list, hosted at ThFree Co, Russian Federation.

area_shape.hpp « drape_frontend - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 202150fb1bf00f8ebf64f0d322938103f2246885 (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 "map_shape.hpp"
#include "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::TextureSetHolder> textures) const;

private:
  vector<m2::PointF> m_vertexes;
  AreaViewParams m_params;
};

} // namespace df