Compare commits

..

2 Commits

Author SHA1 Message Date
8d3e50f8c0 x2t - version up 2018-10-16 19:11:14 +03:00
2439106397 Fix crash on empty dash pen 2018-10-16 17:52:22 +03:00
2 changed files with 7 additions and 1 deletions

View File

@ -1 +1 @@
2.4.550.0
2.4.551.0

View File

@ -618,6 +618,12 @@ namespace Aggplus
c_c_path.approximation_method(agg::curve_inc);
DashStyle eStyle = (DashStyle)pPen->DashStyle;
if (DashStyleCustom == eStyle)
{
if (0 == pPen->Count)
eStyle = DashStyleSolid;
}
agg::trans_affine* pAffine = &m_oFullTransform.m_internal->m_agg_mtx;
if (m_bIntegerGrid)
pAffine = new agg::trans_affine();