Fix gradient drawing

This commit is contained in:
Prokhorov Kirill
2025-05-27 21:21:20 +03:00
parent e9dcafed07
commit 3163177b89

View File

@ -247,10 +247,11 @@ namespace NSDocxRenderer
m_bIsGradient = false;
}
shape->m_dRotation = rotation;
if (info)
else if (info)
{
shape->m_dRotation = rotation;
DrawImage(shape, info, image_vector);
}
else
shape->m_eType = CShape::eShapeType::stVectorGraphics;
@ -2228,6 +2229,7 @@ namespace NSDocxRenderer
}
m_arLuminosityShapes.clear();
m_arOneColorGradientShape.clear();
}
}
}