mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-21 00:38:56 +00:00
LibGfx: Add FloatPoint::to_int_point()
This commit is contained in:
parent
0d93e249c3
commit
ecd900b4b4
Notes:
sideshowbarker
2024-07-19 07:32:24 +09:00
Author: https://github.com/awesomekling
Commit: ecd900b4b4
1 changed files with 2 additions and 0 deletions
|
@ -142,6 +142,8 @@ public:
|
||||||
set_y(value);
|
set_y(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Point to_int_point() const { return Point(x(), y()); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
float m_x { 0 };
|
float m_x { 0 };
|
||||||
float m_y { 0 };
|
float m_y { 0 };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue