Redesigned the drawing of markers in svg conversion

This commit is contained in:
Green
2024-09-16 21:52:37 +03:00
parent 8c62dc448a
commit f5f0630b2d
30 changed files with 173 additions and 200 deletions

View File

@ -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);

View File

@ -215,7 +215,9 @@ namespace NSCSS
ColorNone,
ColorRGB,
ColorHEX,
ColorUrl
ColorUrl,
ColorContextStroke,
ColorContextFill
} ColorType;
class CColor : public CValue<void*>