mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibWeb: Use ApplyFilters command for SVGs
This commit is contained in:
committed by
Alexander Kalenik
parent
8562b0e33b
commit
ab1cf8f89b
@@ -70,6 +70,8 @@ void SVGSVGPaintable::paint_descendants(PaintContext& context, PaintableBox cons
|
||||
context.display_list_recorder().apply_opacity(computed_values.opacity());
|
||||
}
|
||||
|
||||
context.display_list_recorder().apply_filters(paintable.computed_values().opacity(), paintable.computed_values().filter());
|
||||
|
||||
if (svg_box.has_css_transform()) {
|
||||
auto transform_matrix = svg_box.transform();
|
||||
Gfx::FloatPoint transform_origin = svg_box.transform_origin().template to_type<float>();
|
||||
|
||||
Reference in New Issue
Block a user