bn::palette_bitmap_bg_rotation_manager class

Manages the rotation angle of a palette_bitmap_bg_ptr.

Public static functions

static auto get(const palette_bitmap_bg_ptr& bg) -> fixed
Returns the rotation angle of the given palette_bitmap_bg_ptr.
static void set(fixed rotation_angle, palette_bitmap_bg_ptr& bg)
Sets the rotation angle of the given palette_bitmap_bg_ptr.

Function documentation

static void bn::palette_bitmap_bg_rotation_manager::set(fixed rotation_angle, palette_bitmap_bg_ptr& bg)

Sets the rotation angle of the given palette_bitmap_bg_ptr.

Parameters
rotation_angle Rotation angle in degrees, in the range [0..360].
bg palette_bitmap_bg_ptr to modify.