1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:07:45 +00:00

LibGfx/ExifOrientedBitmap: Reorganize create parameters

No behavior change.
This commit is contained in:
Lucas CHOLLET 2024-01-18 18:51:31 -05:00 committed by Andrew Kaster
parent 09b2b3539b
commit 8229a19081
3 changed files with 3 additions and 3 deletions

View file

@ -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);