diff options
Diffstat (limited to 'drape_frontend/text_layout.hpp')
-rw-r--r-- | drape_frontend/text_layout.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drape_frontend/text_layout.hpp b/drape_frontend/text_layout.hpp index f3f43b39c8..8fa1888e8c 100644 --- a/drape_frontend/text_layout.hpp +++ b/drape_frontend/text_layout.hpp @@ -43,7 +43,9 @@ public: void LayoutPathText(m2::Spline::iterator const & iterator, float const scalePtoG, IntrusiveVector<glsl_types::vec2> & positions, - bool isForwardDirection) const; + bool isForwardDirection, + vector<m2::RectF> & rects, + const ScreenBase & screen) const; uint32_t GetGlyphCount() const; uint32_t GetTextureSet() const; @@ -55,6 +57,7 @@ private: float AccumulateAdvance(double const & currentValue, GlyphRegion const & reg2) const; void InitMetric(strings::UniChar const & unicodePoint, dp::RefPointer<dp::TextureSetHolder> textures); +public: void GetMetrics(int32_t const index, float & xOffset, float & yOffset, float & advance, float & halfWidth, float & halfHeight) const; |