mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-11 13:42:52 +00:00
LibGfx: Rename Path => DeprecatedPath
This commit is contained in:
parent
de50d27870
commit
c8f09312f7
Notes:
github-actions[bot]
2024-08-20 07:38:22 +00:00
Author: https://github.com/awesomekling
Commit: c8f09312f7
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1024
61 changed files with 216 additions and 216 deletions
|
@ -40,12 +40,12 @@ void SVGLineElement::attribute_changed(FlyString const& name, Optional<String> c
|
|||
}
|
||||
}
|
||||
|
||||
Gfx::Path SVGLineElement::get_path(CSSPixelSize viewport_size)
|
||||
Gfx::DeprecatedPath SVGLineElement::get_path(CSSPixelSize viewport_size)
|
||||
{
|
||||
auto const viewport_width = viewport_size.width().to_float();
|
||||
auto const viewport_height = viewport_size.height().to_float();
|
||||
|
||||
Gfx::Path path;
|
||||
Gfx::DeprecatedPath path;
|
||||
float const x1 = m_x1.value_or({ 0, false }).resolve_relative_to(viewport_width);
|
||||
float const y1 = m_y1.value_or({ 0, false }).resolve_relative_to(viewport_height);
|
||||
float const x2 = m_x2.value_or({ 0, false }).resolve_relative_to(viewport_width);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue