1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:07:47 +00:00

LibGfx: Add Bitmap::visually_equals()

This commit is contained in:
Jelle Raaijmakers 2022-04-15 01:07:15 +02:00 committed by Ali Mohammad Pur
parent 8b370f988b
commit dad829de50
2 changed files with 20 additions and 0 deletions

View file

@ -236,6 +236,8 @@ public:
[[nodiscard]] Core::AnonymousBuffer& anonymous_buffer() { return m_buffer; }
[[nodiscard]] Core::AnonymousBuffer const& anonymous_buffer() const { return m_buffer; }
[[nodiscard]] bool visually_equals(Bitmap const&) const;
private:
Bitmap(BitmapFormat, IntSize const&, int, BackingStore const&);
Bitmap(BitmapFormat, IntSize const&, int, size_t pitch, void*);