mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:37:35 +00:00
LibGfx: Add FloatPoint::to_int_point()
This commit is contained in:
parent
0d93e249c3
commit
ecd900b4b4
1 changed files with 2 additions and 0 deletions
|
@ -142,6 +142,8 @@ public:
|
|||
set_y(value);
|
||||
}
|
||||
|
||||
Point to_int_point() const { return Point(x(), y()); }
|
||||
|
||||
private:
|
||||
float m_x { 0 };
|
||||
float m_y { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue