mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 09:39:39 +00:00
LibHTML: Use floating point numbers throughout the layout tree
This commit is contained in:
parent
da23864c8d
commit
c628ebda0f
Notes:
sideshowbarker
2024-07-19 11:09:31 +09:00
Author: https://github.com/awesomekling
Commit: c628ebda0f
15 changed files with 59 additions and 52 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include <AK/NonnullRefPtr.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibDraw/FloatRect.h>
|
||||
#include <LibDraw/Rect.h>
|
||||
#include <LibHTML/CSS/StyleProperties.h>
|
||||
#include <LibHTML/Layout/BoxModelMetrics.h>
|
||||
|
@ -108,7 +109,7 @@ public:
|
|||
template<typename T>
|
||||
T* first_ancestor_of_type();
|
||||
|
||||
Point box_type_agnostic_position() const;
|
||||
FloatPoint box_type_agnostic_position() const;
|
||||
|
||||
protected:
|
||||
explicit LayoutNode(const Node*);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue