offset for SymbolPen

This commit is contained in:
Darafei Praliaskouski 2013-01-18 16:27:27 +03:00 committed by Alex Zolotarev
parent 5466b81233
commit de0a0947ac

View file

@ -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);