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-25 19:17:25 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:22:20 +0300
commitbd883853b0e2fd6f1c8c9995bd5fbe21ff6b1978 (patch)
treef30ad926cbca02181b7ba0870b648bb3617a3766 /drape_head/testing_engine.cpp
parentdefa167f29a2fb4b492b0f55c9ae87be4effe38c (diff)
new tests
Diffstat (limited to 'drape_head/testing_engine.cpp')
-rw-r--r--drape_head/testing_engine.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/drape_head/testing_engine.cpp b/drape_head/testing_engine.cpp
index f14a084330..743f945f01 100644
--- a/drape_head/testing_engine.cpp
+++ b/drape_head/testing_engine.cpp
@@ -376,7 +376,7 @@ void TestingEngine::DrawImpl()
params.m_depth = 10.0f;
params.m_anchor = dp::LeftBottom;
params.m_primaryOffset = m2::PointF(0,0);
- params.m_primaryText = "åΩ≈ç √2+√3=? ߃©˙œ∑†®˙√å˜∂ß©ƒå˚≥÷ˆ¨©∫©√∫˜";
+ params.m_primaryText = "hjksdfhjajsdf";
params.m_primaryTextFont = fd;
params.m_secondaryTextFont = auxFd;
params.m_secondaryText = "Странные вещи происходят здесь, the strajjjjjnge things ...";
@@ -388,7 +388,7 @@ void TestingEngine::DrawImpl()
params.m_anchor = dp::RightTop;
//params.m_primaryTextFont.m_needOutline = false;
TextShape sh2(m2::PointF(250.0f, 250.0f), params);
- //sh2.Draw(m_batcher.GetRefPointer(), m_textures.GetRefPointer());
+ sh2.Draw(m_batcher.GetRefPointer(), m_textures.GetRefPointer());
vector<m2::PointF> path;
@@ -406,9 +406,9 @@ void TestingEngine::DrawImpl()
PathTextViewParams params3;
params3.m_featureID = FeatureID(23, 78);
params3.m_depth = -10.0f;
- params3.m_OffsetEnd = 1000.0f;
- params3.m_OffsetStart = 200.0f;
- params3.m_Text = "åΩ≈ç √2+√3=? ߃©˙œ∑†®˙√å˜∂ß©ƒå˚≥÷ˆ¨©∫©√∫˜";
+ params3.m_OffsetEnd = 4000.0f;
+ params3.m_OffsetStart = 100.0f;
+ params3.m_Text = "√2+√3=?-----------------+";
params3.m_TextFont = params.m_primaryTextFont;
PathTextShape sh3(path, params3);
sh3.Draw(m_batcher.GetRefPointer(), m_textures.GetRefPointer());