mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibWeb/SVG: Implement SVGImageElement
This element allows images to be embedded within SVGs.
This commit is contained in:
parent
267420d5aa
commit
03bbc2b111
Notes:
github-actions[bot]
2024-08-29 04:29:33 +00:00
Author: https://github.com/tcl3
Commit: 03bbc2b111
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1198
17 changed files with 490 additions and 8 deletions
|
@ -9,6 +9,7 @@
|
|||
#include <LibGfx/DeprecatedPath.h>
|
||||
#include <LibWeb/Forward.h>
|
||||
#include <LibWeb/Layout/FormattingContext.h>
|
||||
#include <LibWeb/Layout/SVGImageBox.h>
|
||||
#include <LibWeb/Layout/SVGSVGBox.h>
|
||||
#include <LibWeb/Layout/SVGTextBox.h>
|
||||
#include <LibWeb/Layout/SVGTextPathBox.h>
|
||||
|
@ -31,6 +32,7 @@ private:
|
|||
void layout_graphics_element(SVGGraphicsBox const&);
|
||||
void layout_path_like_element(SVGGraphicsBox const&);
|
||||
void layout_mask_or_clip(SVGBox const&);
|
||||
void layout_image_element(SVGImageBox const& image_box);
|
||||
|
||||
[[nodiscard]] Gfx::Path compute_path_for_text(SVGTextBox const&);
|
||||
[[nodiscard]] Gfx::Path compute_path_for_text_path(SVGTextPathBox const&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue