mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 00:29:15 +00:00
LibWeb: Plumbing for svg stroke-dashoffset
This commit is contained in:
parent
e98e9b8e81
commit
6fc06f45c2
Notes:
github-actions[bot]
2024-11-20 14:58:27 +00:00
Author: https://github.com/nico
Commit: 6fc06f45c2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2435
8 changed files with 223 additions and 177 deletions
|
@ -36,6 +36,7 @@ public:
|
|||
|
||||
Optional<Gfx::Color> fill_color() const;
|
||||
Optional<Gfx::Color> stroke_color() const;
|
||||
Optional<float> stroke_dashoffset() const;
|
||||
Optional<float> stroke_width() const;
|
||||
Optional<float> fill_opacity() const;
|
||||
Optional<CSS::StrokeLinecap> stroke_linecap() const;
|
||||
|
@ -94,6 +95,7 @@ protected:
|
|||
|
||||
private:
|
||||
virtual bool is_svg_graphics_element() const final { return true; }
|
||||
float resolve_relative_to_viewport_size(CSS::LengthPercentage const& length_percentage) const;
|
||||
};
|
||||
|
||||
Gfx::AffineTransform transform_from_transform_list(ReadonlySpan<Transform> transform_list);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue