forked from organicmaps/organicmaps
offset for SymbolPen
This commit is contained in:
parent
5466b81233
commit
de0a0947ac
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue