diff options
author | Roman Sorokin <sorok-roma@yandex.ru> | 2014-08-20 19:05:55 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:25:19 +0300 |
commit | 36e822e9d72a6757c8056f22e35b6df43aa941db (patch) | |
tree | 23260b143cf708eac55b698ef48bbecfaa6792d7 /drape_frontend/path_text_shape.cpp | |
parent | d67ba2de4a16237517eb76fbf6a0acd07eb8fb56 (diff) |
Changed interface of GetPixelShape
Diffstat (limited to 'drape_frontend/path_text_shape.cpp')
-rw-r--r-- | drape_frontend/path_text_shape.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drape_frontend/path_text_shape.cpp b/drape_frontend/path_text_shape.cpp index f4e7dc6a30..f9832f0df3 100644 --- a/drape_frontend/path_text_shape.cpp +++ b/drape_frontend/path_text_shape.cpp @@ -87,9 +87,9 @@ namespace } - vector<m2::RectF> & GetPixelShape(ScreenBase const & screen) + void GetPixelShape(ScreenBase const & screen, Rects & rects) const { - return m_bboxes; + rects = m_bboxes; } void GetAttributeMutation(dp::RefPointer<dp::AttributeBufferMutator> mutator, ScreenBase const & screen) const @@ -125,7 +125,7 @@ namespace m2::SharedSpline m_spline; m2::Spline::iterator m_begin; m2::Spline::iterator m_end; - mutable vector<m2::RectF> m_bboxes; + mutable Rects m_bboxes; df::SharedTextLayout m_layout; float m_scalePtoG; |