mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 07:23:34 +08:00
For bug 46629
This commit is contained in:
@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user