mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 08:36:12 +00:00
LibWeb: Implement the SVG clip-rule
attribute
This controls the fill rule used when rasterizing `<clipPath>` elements.
This commit is contained in:
parent
8e00fba71d
commit
6c9069fa5d
Notes:
sideshowbarker
2024-07-16 22:34:39 +09:00
Author: https://github.com/MacDue
Commit: 6c9069fa5d
Pull-request: https://github.com/SerenityOS/serenity/pull/24300
Reviewed-by: https://github.com/AtkinsSJ ✅
13 changed files with 74 additions and 8 deletions
|
@ -137,6 +137,8 @@ enum class FillRule {
|
|||
Evenodd
|
||||
};
|
||||
|
||||
using ClipRule = FillRule;
|
||||
|
||||
enum class TextAnchor {
|
||||
Start,
|
||||
Middle,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue