Initial svg support.

This commit is contained in:
James Grogan 2022-12-07 20:58:45 +00:00
parent 101bfb4207
commit 65ac927929
22 changed files with 284 additions and 30 deletions

View file

@ -0,0 +1,17 @@
#pragma once
#include "SvgElement.h"
#include "Color.h"
class SvgShapeElement : public SvgElement
{
public:
SvgShapeElement(const std::string& tagName);
void setFill(const Color& fill);
void setStrokeWidth(unsigned width);
void setStrokeColor(const Color& stroke);
};