mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-18 12:55:38 +00:00
![Leon Styhre](/assets/img/avatar_default.png)
e0f786c9b Fix parseStyle REVERT: d13d8e521 Refactoring REVERT: 4925c87a8 Update REVERT: 794c38591 Update REVERT: 49eee9643 Update REVERT: 914aee5ea Update REVERT: 3bb00ecee Fix ParserString string-view iterator cast in windows REVERT: fabea2008 Fix string-view iterator cast in windows REVERT: bbcf0d34f Update REVERT: 081df20f2 Update REVERT: fe3101f91 Refactoring REVERT: e9a41dc83 Refactoring git-subtree-dir: external/lunasvg git-subtree-split: e0f786c9be6fae1ffabddfe56fb1e0a1a7eb775d
54 lines
1.1 KiB
C++
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
|