LibHTML: Use floating point numbers throughout the layout tree

This commit is contained in:
Andreas Kling 2019-11-18 16:25:38 +01:00
commit c628ebda0f
Notes: sideshowbarker 2024-07-19 11:09:31 +09:00
15 changed files with 59 additions and 52 deletions

View file

@ -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*);