This commit is contained in:
Green
2025-07-10 16:15:10 +03:00
parent a84491cf74
commit 4f95713790

View File

@ -79,9 +79,9 @@ bool CSvgFile::GetBounds(double &dX, double &dY, double &dWidth, double &dHeight
else
dHeight = m_oContainer.GetViewBox().m_oHeight.ToDouble(NSCSS::Pixel);
if (0. == dWidth)
if (DBL_EPSILON > dWidth)
dWidth = SVG_FILE_WIDTH;
if (0. == dHeight)
if (DBL_EPSILON > dHeight)
dHeight = SVG_FILE_HEIGHT;
return true;