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

circle_element.hpp « graphics - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: aa3a474a623b00232f0dd9e11b4de6869c746186 (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
28
29
30
#pragma once

#include "graphics/overlay_element.hpp"
#include "graphics/circle.hpp"


namespace graphics
{
  class CircleElement : public OverlayElement
  {
    Circle::Info m_ci;

  public:
    typedef OverlayElement BaseT;

    struct Params : public BaseT::Params
    {
      Circle::Info m_ci;
      Params();
    };

    CircleElement(Params const & p);

    virtual m2::RectD GetBoundRect() const;

    void draw(OverlayRenderer * s, math::Matrix<double, 3, 3> const & m) const;

    void setTransformation(const math::Matrix<double, 3, 3> & m);
  };
}