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

path_symbol_shape.hpp « drape_frontend - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: eff982a919c210918bd311c824cc1a7b7491a780 (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
27
#pragma once

#include "map_shape.hpp"
#include "shape_view_params.hpp"
#include "common_structures.hpp"

#include "../std/vector.hpp"

#include "../geometry/point2d.hpp"
#include "../geometry/spline.hpp"

namespace df
{

class PathSymbolShape : public MapShape
{
public:
  PathSymbolShape(vector<m2::PointF> const & path, PathSymbolViewParams const & params, float maxScale);
  virtual void Draw(RefPointer<Batcher> batcher, RefPointer<TextureSetHolder> textures) const;

private:
  PathSymbolViewParams m_params;
  m2::Spline m_path;
  float m_maxScale;
};

}