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

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

#include "color.hpp"

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

namespace yg
{
  struct CircleInfo
  {
    unsigned m_radius;
    Color m_color;
    bool m_isOutlined;
    unsigned m_outlineWidth;
    Color m_outlineColor;

    CircleInfo();
    CircleInfo(
        double radius,
        Color const & color = Color(0, 0, 0, 255),
        bool isOutlined = false,
        double outlineWidth = 1,
        Color const & outlineColor = Color(255, 255, 255, 255));

    m2::PointU const patternSize() const;
  };

  bool operator< (CircleInfo const & l, CircleInfo const & r);
}