diff options
author | Darafei Praliaskouski <komzpa@gmail.com> | 2013-01-18 17:27:27 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:48:59 +0300 |
commit | de0a0947acca91525243cabe3ac0fc7cebee1dda (patch) | |
tree | 98fdb3d6034157b2e0be738f4f6cb02d0be33b09 | |
parent | 5466b812337f448e9cf8ab9135a8938572cb1bd2 (diff) |
offset for SymbolPen
-rw-r--r-- | graphics/path_renderer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/path_renderer.cpp b/graphics/path_renderer.cpp index ef5ca202a2..6c8d4a87fa 100644 --- a/graphics/path_renderer.cpp +++ b/graphics/path_renderer.cpp @@ -61,6 +61,8 @@ namespace graphics double step = pen->m_info.m_step; + offset += pen->m_info.m_offset; + if (offset < 0) offset = fmod(offset, step); |