ladybird/Libraries/LibGfx/BitmapExportResult.h
InvalidUsernameException 88c4814de6 LibGfx+LibWeb: Extract bitmap-to-buffer conversion into LibGfx
This factors the conversion logic to be independent from WebGL code,
allowing us to write unit tests for it that can run in CI (since WebGL
can't run in CI).
2025-11-28 18:32:48 +01:00

19 lines
256 B
C++

/*
* Copyright (c) 2025, Ladybird contributors
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/ByteBuffer.h>
namespace Gfx {
struct BitmapExportResult {
ByteBuffer buffer;
int width { 0 };
int height { 0 };
};
}