mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:37:36 +00:00
LibGfx: Use ErrorOr<T> for Bitmap::flipped()
This commit is contained in:
parent
69c4614a94
commit
db90b4554e
4 changed files with 9 additions and 8 deletions
|
@ -112,7 +112,7 @@ public:
|
|||
ErrorOr<NonnullRefPtr<Gfx::Bitmap>> clone() const;
|
||||
|
||||
ErrorOr<NonnullRefPtr<Gfx::Bitmap>> rotated(Gfx::RotationDirection) const;
|
||||
[[nodiscard]] RefPtr<Gfx::Bitmap> flipped(Gfx::Orientation) const;
|
||||
ErrorOr<NonnullRefPtr<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;
|
||||
[[nodiscard]] RefPtr<Gfx::Bitmap> cropped(Gfx::IntRect) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue