LibGfx: Rename Path => DeprecatedPath

This commit is contained in:
Andreas Kling 2024-08-08 10:22:03 +02:00 committed by Andreas Kling
parent de50d27870
commit c8f09312f7
Notes: github-actions[bot] 2024-08-20 07:38:22 +00:00
61 changed files with 216 additions and 216 deletions

View file

@ -46,14 +46,14 @@ void SVGRectElement::attribute_changed(FlyString const& name, Optional<String> c
}
}
Gfx::Path SVGRectElement::get_path(CSSPixelSize)
Gfx::DeprecatedPath SVGRectElement::get_path(CSSPixelSize)
{
float width = m_width.value_or(0);
float height = m_height.value_or(0);
float x = m_x.value_or(0);
float y = m_y.value_or(0);
Gfx::Path path;
Gfx::DeprecatedPath path;
// If width or height is zero, rendering is disabled.
if (width == 0 || height == 0)
return path;