10 : Image(data_start, width, height, type),
11 animation_data_start_(data_start),
13 animation_frame_count_(animation_frame_count),
15 loop_end_frame_(animation_frame_count_),
17 loop_current_iteration_(1) {}
51 unsigned abs_frame = abs(frame);
int get_current_frame() const
void set_frame(int frame)
Selects a specific frame within the animation.
int image_type_to_width_stride(int width, ImageType type)
uint32_t animation_frame_count_
uint32_t get_animation_frame_count() const
int loop_current_iteration_
uint32_t loop_start_frame_
void update_data_start_()
const uint8_t * animation_data_start_
void set_loop(uint32_t start_frame, uint32_t end_frame, int count)
Animation(const uint8_t *data_start, int width, int height, uint32_t animation_frame_count, image::ImageType type)
const uint8_t * data_start_
Implementation of SPI Controller mode.