mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:47:45 +00:00
LibWeb: Create LayoutNodes for each SVG element
This brings the SVG API closer to the rest of LibWeb
This commit is contained in:
parent
f2055bb509
commit
455ce0b9c3
16 changed files with 402 additions and 122 deletions
|
@ -39,11 +39,6 @@ public:
|
|||
|
||||
virtual RefPtr<LayoutNode> create_layout_node(const CSS::StyleProperties* parent_style) override;
|
||||
|
||||
const RefPtr<Gfx::Bitmap> bitmap() const { return m_bitmap; }
|
||||
bool create_bitmap_as_top_level_svg_element();
|
||||
|
||||
virtual void paint(Gfx::Painter& painter, const SVGPaintingContext& context) override;
|
||||
|
||||
unsigned width() const;
|
||||
unsigned height() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue