Commit 55bfcd1b authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander Trofimov

Убрана команда SwapRgbToBgr для хэтчей, т.к. оказалось, что это был баг GraphicsRenderer.

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@63208 954022d7-b5bf-4e40-9824-e11837661b57
parent 20680954
...@@ -554,12 +554,10 @@ namespace MetaFile ...@@ -554,12 +554,10 @@ namespace MetaFile
m_pRenderer->put_BrushAlpha2(255); m_pRenderer->put_BrushAlpha2(255);
TColor oBgColor(m_pFile->GetTextBgColor()); TColor oBgColor(m_pFile->GetTextBgColor());
oBgColor.SwapRGBtoBGR();
m_pRenderer->put_BrushColor2(oBgColor.ToInt()); m_pRenderer->put_BrushColor2(oBgColor.ToInt());
} }
TColor oFgColor(pBrush->GetColor()); TColor oFgColor(pBrush->GetColor());
oFgColor.SwapRGBtoBGR();
m_pRenderer->put_BrushTexturePath(wsBrushType); m_pRenderer->put_BrushTexturePath(wsBrushType);
m_pRenderer->put_BrushAlpha1(255); m_pRenderer->put_BrushAlpha1(255);
m_pRenderer->put_BrushColor1(oFgColor.ToInt()); m_pRenderer->put_BrushColor1(oFgColor.ToInt());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment