mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Fixed a bug with missing gradient color in MetafileToSvg
This commit is contained in:
@ -1075,7 +1075,7 @@ namespace MetaFile
|
||||
|
||||
m_wsDefs += L"<linearGradient id=\"" + wsStyleId + L"\">" +
|
||||
L"<stop offset=\"0%\" stop-color=\"" + CalculateColor(pBrush->GetColor(), pBrush->GetAlpha()) + L"\"/>" +
|
||||
L"<stop offset=\"100%\" stop-color=\"" + CalculateColor(pBrush->GetColor(), pBrush->GetAlpha2()) + L"\"/>" +
|
||||
L"<stop offset=\"100%\" stop-color=\"" + CalculateColor(pBrush->GetColor2(), pBrush->GetAlpha2()) + L"\"/>" +
|
||||
L"</linearGradient>";
|
||||
|
||||
return wsStyleId;
|
||||
|
||||
Reference in New Issue
Block a user