#include <display_buffer.h>
|
| Animation (const uint8_t *data_start, int width, int height, uint32_t animation_frame_count, ImageType type) |
|
bool | get_pixel (int x, int y) const override |
|
Color | get_color_pixel (int x, int y) const override |
|
Color | get_rgb565_pixel (int x, int y) const override |
|
Color | get_grayscale_pixel (int x, int y) const override |
|
int | get_animation_frame_count () const |
|
int | get_current_frame () const |
|
void | next_frame () |
|
void | prev_frame () |
|
| Image (const uint8_t *data_start, int width, int height, ImageType type) |
|
int | get_width () const |
|
int | get_height () const |
|
ImageType | get_type () const |
|
Definition at line 481 of file display_buffer.h.
◆ Animation()
esphome::display::Animation::Animation |
( |
const uint8_t * |
data_start, |
|
|
int |
width, |
|
|
int |
height, |
|
|
uint32_t |
animation_frame_count, |
|
|
ImageType |
type |
|
) |
| |
◆ get_animation_frame_count()
int esphome::display::Animation::get_animation_frame_count |
( |
| ) |
const |
◆ get_color_pixel()
Color esphome::display::Animation::get_color_pixel |
( |
int |
x, |
|
|
int |
y |
|
) |
| const |
|
overridevirtual |
◆ get_current_frame()
int esphome::display::Animation::get_current_frame |
( |
| ) |
const |
◆ get_grayscale_pixel()
Color esphome::display::Animation::get_grayscale_pixel |
( |
int |
x, |
|
|
int |
y |
|
) |
| const |
|
overridevirtual |
◆ get_pixel()
bool esphome::display::Animation::get_pixel |
( |
int |
x, |
|
|
int |
y |
|
) |
| const |
|
overridevirtual |
◆ get_rgb565_pixel()
Color esphome::display::Animation::get_rgb565_pixel |
( |
int |
x, |
|
|
int |
y |
|
) |
| const |
|
overridevirtual |
◆ next_frame()
void esphome::display::Animation::next_frame |
( |
| ) |
|
◆ prev_frame()
void esphome::display::Animation::prev_frame |
( |
| ) |
|
◆ animation_frame_count_
int esphome::display::Animation::animation_frame_count_ |
|
protected |
◆ current_frame_
int esphome::display::Animation::current_frame_ |
|
protected |
The documentation for this class was generated from the following files: