ES-DE/source/styledelement.h
Leon Styhre 3acd894f37 Squashed 'external/lunasvg/' changes from 7417baa0a..d13d8e521
d13d8e521 Refactoring
4925c87a8 Update
794c38591 Update
49eee9643 Update
914aee5ea Update
3bb00ecee Fix ParserString string-view iterator cast in windows
fabea2008 Fix string-view iterator cast in windows
bbcf0d34f Update
081df20f2 Update
fe3101f91 Refactoring
e9a41dc83 Refactoring
637121f89 Update lunasvg.cpp
d0abdccb1 Remove Document transformation methods
caa4b2410 Fix ft_stroke_border_export assertion
592533914 Fix SW_FT_Outline points overflow #55
0d40b061c Update

git-subtree-dir: external/lunasvg
git-subtree-split: d13d8e521c21f5f750ef0f6f92163f0131afdd3e
2022-10-03 20:53:48 +02:00

54 lines
1.1 KiB
C++

#ifndef STYLEDELEMENT_H
#define STYLEDELEMENT_H
#include "element.h"
namespace lunasvg {
class StyledElement : public Element
{
public:
StyledElement(ElementID id);
Paint fill() const;
Paint stroke() const;
Color color() const;
Color stop_color() const;
Color solid_color() const;
double opacity() const;
double fill_opacity() const;
double stroke_opacity() const;
double stop_opacity() const;
double solid_opacity() const;
double stroke_miterlimit() const;
Length stroke_width() const;
Length stroke_dashoffset() const;
LengthList stroke_dasharray() const;
WindRule fill_rule() const;
WindRule clip_rule() const;
LineCap stroke_linecap() const;
LineJoin stroke_linejoin() const;
Display display() const;
Visibility visibility() const;
Overflow overflow() const;
std::string clip_path() const;
std::string mask() const;
std::string marker_start() const;
std::string marker_mid() const;
std::string marker_end() const;
bool isDisplayNone() const;
bool isOverflowHidden() const;
};
} // namespace lunasvg
#endif // STYLEDELEMENT_H