Initial svg support.
This commit is contained in:
parent
101bfb4207
commit
65ac927929
22 changed files with 284 additions and 30 deletions
17
src/web/svg/SvgShapeElement.h
Normal file
17
src/web/svg/SvgShapeElement.h
Normal 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);
|
||||
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue