Commit 429c0a5a authored by Oleg Korshul's avatar Oleg Korshul

stroke bug

parent 4c12ba9c
......@@ -853,7 +853,10 @@ namespace NSHtmlRenderer
{
// stroke
m_oDocument.WriteString(L"<path style=\"fill:none;stroke:", 30);
m_oDocument.WriteHexColor3(m_pPen->Color);
if (bStroke)
m_oDocument.WriteHexColor3(m_pPen->Color);
else
m_oDocument.WriteString(L"none");
m_oDocument.WriteString(L";stroke-width:", 14);
m_oDocument.AddInt(nPenW);
m_oDocument.WriteString(L";stroke-opacity:", 16);
......
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