/
githubmirror
/
omim
Обзор
Документация
Войти
/
githubmirror
/
omim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
software_renderer/frame_image.hpp
27 строк
549 B
Daria Volvenkova
[software_renderer] Fixed mapshot compilation and linking.
06 ноя 2019, 17:32
06 ноя 2019, 17:32
0e4d9d6
Код
Авторство
О чём код?
#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 std::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