|
| void | set_frame (const uint8_t *data, int width, int height) |
| |
| void | set_showing_artwork (bool showing_artwork) |
| | Records whether the frame on show is real artwork rather than the black it starts as.
|
| |
| void | set_placeholder (image::Image *placeholder) |
| |
| void | draw (int x, int y, display::Display *display, Color color_on, Color color_off) override |
| |
| | Image (const uint8_t *data_start, int width, int height, ImageType type, Transparency transparency, bool big_endian=false) |
| | big_endian is the RGB565 byte order; codegen writes little endian unless configured otherwise.
|
| |
| Color | get_pixel (int x, int y, Color color_on=display::COLOR_ON, Color color_off=display::COLOR_OFF) const |
| |
| int | get_width () const override |
| |
| int | get_height () const override |
| |
| const uint8_t * | get_data_start () const |
| |
| ImageType | get_type () const |
| |
| int | get_bpp () const |
| |
| size_t | get_width_stride () const |
| | Return the stride of the image in bytes, that is, the distance in bytes between two consecutive rows of pixels.
|
| |
| void | draw (int x, int y, display::Display *display, Color color_on, Color color_off) override |
| |
| bool | has_transparency () const |
| |
| lv_image_dsc_t * | get_lv_image_dsc () |
| |
|
| template<bool ROWS_OUTER> |
| void | draw_ (int x, int y, display::Display *display, Color color_on, Color color_off, int x_start, int x_end, int y_start, int y_end) |
| | Per-pixel draw of the clipped range, rows (true) or columns (false) outer.
|
| |
| bool | get_binary_pixel_ (int x, int y) const |
| |
| Color | get_rgb111_pixel_ (int x, int y) const |
| |
| Color | get_rgb_pixel_ (int x, int y) const |
| |
| Color | get_rgb565_pixel_ (int x, int y) const |
| |
| Color | get_grayscale_pixel_ (int x, int y) const |
| |
A non-owning image::Image view over a buffer owned by SendspinImageSlot.
Each slot publishes its frames through these: one for the artwork on screen, and optionally a second for the outgoing frame during a cross-fade. A view always names a frame, black to begin with, so LVGL can be given it as a widget source before any artwork exists. Main loop only.
Definition at line 42 of file sendspin_image.h.