mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Redesigned the drawing of markers in svg conversion
This commit is contained in:
@ -702,6 +702,16 @@ namespace NSCSS
|
||||
SetNone();
|
||||
bResult = true;
|
||||
}
|
||||
else if (L"context-stroke" == wsNewValue)
|
||||
{
|
||||
Clear();
|
||||
m_enType = ColorContextStroke;
|
||||
}
|
||||
else if (L"context-fill" == wsNewValue)
|
||||
{
|
||||
Clear();
|
||||
m_enType = ColorContextFill;
|
||||
}
|
||||
else if (10 <= wsNewValue.length() && wsNewValue.substr(0, 3) == L"rgb")
|
||||
{
|
||||
size_t unEnd = wsNewValue.find(L')', 4);
|
||||
|
||||
@ -215,7 +215,9 @@ namespace NSCSS
|
||||
ColorNone,
|
||||
ColorRGB,
|
||||
ColorHEX,
|
||||
ColorUrl
|
||||
ColorUrl,
|
||||
ColorContextStroke,
|
||||
ColorContextFill
|
||||
} ColorType;
|
||||
|
||||
class CColor : public CValue<void*>
|
||||
|
||||
Reference in New Issue
Block a user