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

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

private:
  LineViewParams m_params;
  m2::SharedSpline m_spline;
};

} // namespace df