Banuba SDK
Loading...
Searching...
No Matches
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.

Member Data Documentation

◆ m_content_mode

content_mode bnb::player_api::orientable_scalable_base::m_content_mode {content_mode::aspect_fit}
protected

Definition at line 24 of file orientable_scalable_base.hpp.

24{content_mode::aspect_fit};

◆ m_mirroring

bool bnb::player_api::orientable_scalable_base::m_mirroring {false}
protected

Definition at line 26 of file orientable_scalable_base.hpp.

26{false};

◆ m_orientation

orientation bnb::player_api::orientable_scalable_base::m_orientation {orientation::up}
protected

Definition at line 25 of file orientable_scalable_base.hpp.

25{orientation::up};

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