mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-21 08:48:57 +00:00
LibGfx/ExifOrientedBitmap: Reorganize create
parameters
No behavior change.
This commit is contained in:
parent
09b2b3539b
commit
8229a19081
Notes:
sideshowbarker
2024-07-17 01:10:58 +09:00
Author: https://github.com/LucasChollet
Commit: 8229a19081
Pull-request: https://github.com/SerenityOS/serenity/pull/22856
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/nico ✅
3 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@ namespace Gfx {
|
|||
class ExifOrientedBitmap {
|
||||
public:
|
||||
template<typename... Args>
|
||||
static ErrorOr<ExifOrientedBitmap> create(BitmapFormat format, IntSize size, TIFF::Orientation orientation)
|
||||
static ErrorOr<ExifOrientedBitmap> create(TIFF::Orientation orientation, IntSize size, BitmapFormat format)
|
||||
{
|
||||
auto bitmap = TRY(Bitmap::create(format, oriented_size(size, orientation)));
|
||||
return ExifOrientedBitmap(move(bitmap), size, orientation);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue