Molybden API
Loading...
Searching...
No Matches
bitmap.hpp
1// Copyright (c) 2000-2023 TeamDev Ltd. All rights reserved.
2// TeamDev PROPRIETARY and CONFIDENTIAL.
3// Use is subject to license terms.
4
5#ifndef MOLYBDEN_BITMAP_HPP
6#define MOLYBDEN_BITMAP_HPP
7
8#include <vector>
9
10#include "molybden/ui/geometry.hpp"
11
12namespace molybden {
13
17struct Bitmap {
22
27 std::vector<uint8_t> pixels;
28};
29
30} // namespace molybden
31
32#endif // MOLYBDEN_BITMAP_HPP
A binary image in the BGRA format.
Definition bitmap.hpp:17
std::vector< uint8_t > pixels
A byte array that contains the image pixels.
Definition bitmap.hpp:27
Size size
The size of this bitmap instance.
Definition bitmap.hpp:21
A pair of numbers that in general are used to define dimensions in the two-dimensional space.
Definition geometry.hpp:35