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:
authorrachytski <siarhei.rachytski@gmail.com>2013-01-03 16:43:00 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:48:30 +0300
commitce69b03937cf0e6f8024ac1be2767a9ca194abf0 (patch)
tree36c3a3c6b1d3fde04e94a757e2c28cc758bc11a6 /indexer/drawing_rules.cpp
parenta5967d31324d07faabe6ae0afa449bc9ef13b3fb (diff)
added PenJoin, PenCap and PathSym into our protobuf format, into Pen::Info structure and wrote deserialization code.
Diffstat (limited to 'indexer/drawing_rules.cpp')
-rw-r--r--indexer/drawing_rules.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indexer/drawing_rules.cpp b/indexer/drawing_rules.cpp
index 7c7050c340..b381f5ca12 100644
--- a/indexer/drawing_rules.cpp
+++ b/indexer/drawing_rules.cpp
@@ -184,6 +184,12 @@ namespace
m_line.set_width(r.width());
if (r.has_dashdot())
*(m_line.mutable_dashdot()) = r.dashdot();
+ if (r.has_pathsym())
+ *(m_line.mutable_pathsym()) = r.pathsym();
+ if (r.has_join())
+ m_line.set_join(r.join());
+ if (r.has_cap())
+ m_line.set_cap(r.cap());
}
virtual LineDefProto const * GetLine() const { return &m_line; }