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

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <deathbaba@gmail.com>2010-12-05 19:24:16 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-22 22:33:57 +0300
commitd6e12b7ce4bcbf0ccd1c07eb25de143422913c34 (patch)
treea7e910c330ce4da9b4f2d8be76067adece2561c4 /indexer/feature_visibility.hpp
One Month In Minsk. Made in Belarus.
Diffstat (limited to 'indexer/feature_visibility.hpp')
-rw-r--r--indexer/feature_visibility.hpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/indexer/feature_visibility.hpp b/indexer/feature_visibility.hpp
new file mode 100644
index 0000000000..00c32ec3e2
--- /dev/null
+++ b/indexer/feature_visibility.hpp
@@ -0,0 +1,23 @@
+#pragma once
+
+#include "drawing_rule_def.hpp"
+
+#include "../base/base.hpp"
+
+#include "../std/vector.hpp"
+#include "../std/string.hpp"
+
+class Feature;
+
+namespace feature
+{
+ enum feature_geo_t { fpoint = 0, fline, farea };
+
+ bool IsDrawableAny(uint32_t type);
+ bool IsDrawableLike(vector<uint32_t> const & type, feature_geo_t ft);
+ bool IsDrawableForIndex(Feature const & f, int level);
+ uint32_t MinDrawableScaleForFeature(Feature const & f);
+
+
+ int GetDrawRule(Feature const & f, int level, vector<drule::Key> & keys, string & names);
+}