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

feature_info.hpp « render - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2cd9a6b7c5c2372e5f8471a954279517ee837836 (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
31
32
33
34
35
36
#pragma once

#include "feature_styler.hpp"
#include "path_info.hpp"
#include "area_info.hpp"

#include "indexer/feature_decl.hpp"

#include "geometry/point2d.hpp"

#include "std/list.hpp"


namespace graphics { class GlyphCache; }
class FeatureType;
class ScreenBase;

namespace di
{
  struct FeatureInfo
  {
    FeatureStyler m_styler;
    FeatureID m_id;

    list<di::PathInfo> m_pathes;
    list<di::AreaInfo> m_areas;
    m2::PointD m_point;

    FeatureInfo(FeatureType const & f,
                int const zoom,
                double const visualScale,
                graphics::GlyphCache * glyphCache,
                ScreenBase const * convertor,
                m2::RectD const * rect);
  };
}