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:
authorRoman Sorokin <sorok-roma@yandex.ru>2014-07-30 14:41:30 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:22:42 +0300
commit0aa3a629f4bc95cad98ff6b02e5569d1cd9e47e5 (patch)
tree5d968ea2f5f681f6a1d58281499370e05f8f6517 /drape_head/testing_engine.cpp
parent63d4f545b2494a03c43aaefb2282b4e933f6f890 (diff)
new tests
Diffstat (limited to 'drape_head/testing_engine.cpp')
-rw-r--r--drape_head/testing_engine.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/drape_head/testing_engine.cpp b/drape_head/testing_engine.cpp
index a504cb41f8..f2adca662f 100644
--- a/drape_head/testing_engine.cpp
+++ b/drape_head/testing_engine.cpp
@@ -11,6 +11,7 @@
#include "../drape_frontend/line_shape.hpp"
#include "../drape_frontend/text_shape.hpp"
#include "../drape_frontend/path_text_shape.hpp"
+#include "../drape_frontend/path_symbol_shape.hpp"
#include "../drape_frontend/area_shape.hpp"
#include "../drape_frontend/circle_shape.hpp"
@@ -412,6 +413,15 @@ void TestingEngine::DrawImpl()
params3.m_TextFont = params.m_primaryTextFont;
PathTextShape sh3(path, params3);
sh3.Draw(m_batcher.GetRefPointer(), m_textures.GetRefPointer());
+
+ PathSymbolViewParams params4;
+ params4.m_featureID = FeatureID(23, 78);
+ params4.m_depth = 30.0f;
+ params4.m_Offset = 40.0f;
+ params4.m_OffsetStart = 0.0f;
+ params4.m_symbolName = "arrow";
+ PathSymbolShape sh4(path, params4, 10);
+ sh4.Draw(m_batcher.GetRefPointer(), m_textures.GetRefPointer());
}
void TestingEngine::ModelViewInit()