mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:37:45 +00:00
LibGfx: Use ErrorOr<T> for Bitmap::rotated()
This commit is contained in:
parent
2da4cfcc80
commit
69c4614a94
5 changed files with 11 additions and 10 deletions
|
@ -111,7 +111,7 @@ public:
|
|||
|
||||
ErrorOr<NonnullRefPtr<Gfx::Bitmap>> clone() const;
|
||||
|
||||
[[nodiscard]] RefPtr<Gfx::Bitmap> rotated(Gfx::RotationDirection) const;
|
||||
ErrorOr<NonnullRefPtr<Gfx::Bitmap>> rotated(Gfx::RotationDirection) const;
|
||||
[[nodiscard]] RefPtr<Gfx::Bitmap> flipped(Gfx::Orientation) const;
|
||||
[[nodiscard]] RefPtr<Gfx::Bitmap> scaled(int sx, int sy) const;
|
||||
[[nodiscard]] RefPtr<Gfx::Bitmap> scaled(float sx, float sy) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue