LibWeb: Use shape-rendering to control anti aliasing for SVG paths

Anti-aliasing is disabled if `shape-rendering` is set to
`optimizeSpeed` or `crispEdges`.
This commit is contained in:
Tim Ledbetter 2025-08-18 16:21:09 +01:00 committed by Sam Atkins
parent 1d745884be
commit cfc6439c12
Notes: github-actions[bot] 2025-08-19 08:48:50 +00:00
10 changed files with 43 additions and 4 deletions

View file

@ -0,0 +1,16 @@
/*
* Copyright (c) 2025, Tim Ledbetter <tim.ledbetter@ladybird.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
namespace Web::Painting {
enum class ShouldAntiAlias : bool {
Yes,
No,
};
}