blob: cd6a19770679b933b8dc9d4cca6413aff6a70036 (
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
|
#pragma once
#include "geometry/point2d.hpp"
#include <cstdint>
#include <vector>
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
};
} // namespace software_renderer
|