Banuba SDK
Protected Member Functions | Protected Attributes | List of all members
bnb::player_api::orientable_scalable_base Class Reference

Protected Member Functions

void update_content_mode (content_mode new_content_mode)
 
void update_orientation (orientation orient, bool mirroring=false)
 
const float *const get_orientation_matrix (bool y_invert=false)
 
void oriented_frame_size (const render_target_sptr &rt, int32_t &oriented_width, int32_t &oriented_height) const
 
void oriented_frame_layout (const render_target_sptr &rt, int32_t surface_width, int32_t surface_height, int32_t &left, int32_t &top, int32_t &width, int32_t &height) const
 

Protected Attributes

content_mode m_content_mode {content_mode::aspect_fit}
 
orientation m_orientation {orientation::up}
 
bool m_mirroring {false}
 

Detailed Description

Definition at line 10 of file orientable_scalable_base.hpp.


The documentation for this class was generated from the following file: