blob: a9ab4580808391ef985c2ac1df6c3ce7a157cba2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#pragma once
#include "geometry/point2d.hpp"
#include "std/cstdint.hpp"
#include "std/vector.hpp"
namespace software_renderer
{
struct FrameSymbols
{
m2::PointD m_searchResult;
bool m_showSearchResult = false;
int m_bottomZoom = -1;
};
struct FrameImage
{
// image data.
// TopLeft-to-RightBottom order
// Format - png
vector<uint8_t> m_data;
uint32_t m_width = 0; // pixel width of image
uint32_t m_height = 0; // pixel height of image
uint32_t m_stride = 0; // row stride in bytes
};
}
|