mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:47:44 +00:00
LibGfx+LibWeb: Store radii as FloatSize rather than FloatPoint
Radii are sizes, not points. This becomes important when mapping them through a 2D transform.
This commit is contained in:
parent
e9078e216d
commit
7c607462a4
10 changed files with 26 additions and 26 deletions
|
@ -60,7 +60,7 @@ Gfx::Path& SVGEllipseElement::get_path()
|
|||
return m_path.value();
|
||||
}
|
||||
|
||||
Gfx::FloatPoint radii = { rx, ry };
|
||||
Gfx::FloatSize radii = { rx, ry };
|
||||
double x_axis_rotation = 0;
|
||||
bool large_arc = false;
|
||||
bool sweep = true; // Note: Spec says it should be false, but it's wrong. https://github.com/w3c/svgwg/issues/765
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue