Banuba SDK
content_mode.hpp
1 #pragma once
2 
3 #include <cstdint>
4 
5 namespace bnb::player_api
6 {
7 
8  enum class content_mode : int32_t
9  {
10  /**
11  * Positions the drawn frame in the center, while maintaining the aspect ratio.
12  * With this layout, the entire frame fits into the drawing area.
13  * */
14  aspect_fit,
15 
16  /**
17  * Positions the drawn frame in the center, while maintaining the aspect ratio.
18  * With this layout, the frame is stretched along the largest of the sides, fills the
19  * entire drawing area, while the borders of the drawn frame will be cut off.
20  * */
21  aspect_fill
22  }; // enum class content_mode
23 
24 } // namespace bnb::player_api