mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:07:35 +00:00
LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize
This fits nicer with FloatRect,FloatPoint,FloatSize and gives a much better visual clue about what type of metric is being used.
This commit is contained in:
parent
656b01eb0f
commit
116cf92156
212 changed files with 1144 additions and 1144 deletions
|
@ -44,8 +44,8 @@ public:
|
|||
const Bitmap* bitmap() const { return m_bitmap; }
|
||||
Bitmap* bitmap() { return m_bitmap; }
|
||||
|
||||
Size size() const { return m_bitmap ? m_bitmap->size() : Size(); }
|
||||
Rect rect() const { return m_bitmap ? m_bitmap->rect() : Rect(); }
|
||||
IntSize size() const { return m_bitmap ? m_bitmap->size() : IntSize(); }
|
||||
IntRect rect() const { return m_bitmap ? m_bitmap->rect() : IntRect(); }
|
||||
|
||||
int width() const { return size().width(); }
|
||||
int height() const { return size().height(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue