For bug 46629

This commit is contained in:
Svetlana Kulikova
2024-06-06 10:21:51 +03:00
parent f5202108a1
commit 2e1ccbc985

View File

@ -625,7 +625,7 @@ namespace Aggplus
}
double dWidth = pPen->Size;
double dWidthMinSize = 1.0 / sqrt(m_oCoordTransform.m_internal->m_agg_mtx.determinant());
double dWidthMinSize = 1.0 / sqrt(m_oFullTransform.m_internal->m_agg_mtx.determinant());
if ((0 == dWidth && !m_bIntegerGrid) || dWidth < dWidthMinSize)
{
@ -762,6 +762,7 @@ namespace Aggplus
}
}
dWidthMinSize = 1.0 / sqrt(m_oCoordTransform.m_internal->m_agg_mtx.determinant());
if ((0 == dWidth && !m_bIntegerGrid) || dWidth < dWidthMinSize)
dWidth = dWidthMinSize;