mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:47:35 +00:00
LibGfx: Add scaling methods to Bitmap
This commit is contained in:
parent
4233b69ecf
commit
790908ffc3
2 changed files with 111 additions and 0 deletions
|
@ -115,6 +115,8 @@ public:
|
|||
|
||||
RefPtr<Gfx::Bitmap> rotated(Gfx::RotationDirection) const;
|
||||
RefPtr<Gfx::Bitmap> flipped(Gfx::Orientation) const;
|
||||
RefPtr<Gfx::Bitmap> scaled(int sx, int sy) const;
|
||||
RefPtr<Gfx::Bitmap> scaled(float sx, float sy) const;
|
||||
RefPtr<Bitmap> to_bitmap_backed_by_anon_fd() const;
|
||||
ByteBuffer serialize_to_byte_buffer() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue