#include <image.h>
|
| Image (const uint8_t *data_start, int width, int height, ImageType type) |
|
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 |
|
void | draw (int x, int y, display::Display *display, Color color_on, Color color_off) override |
|
void | set_transparency (bool transparent) |
|
bool | has_transparency () const |
|
lv_img_dsc_t * | get_lv_img_dsc () |
|
Definition at line 43 of file image.h.
◆ Image()
esphome::image::Image::Image |
( |
const uint8_t * |
data_start, |
|
|
int |
width, |
|
|
int |
height, |
|
|
ImageType |
type |
|
) |
| |
◆ draw()
◆ get_binary_pixel_()
bool esphome::image::Image::get_binary_pixel_ |
( |
int |
x, |
|
|
int |
y |
|
) |
| const |
|
protected |
◆ get_data_start()
const uint8_t* esphome::image::Image::get_data_start |
( |
| ) |
const |
|
inline |
◆ get_grayscale_pixel_()
Color esphome::image::Image::get_grayscale_pixel_ |
( |
int |
x, |
|
|
int |
y |
|
) |
| const |
|
protected |
◆ get_height()
int esphome::image::Image::get_height |
( |
| ) |
const |
|
overridevirtual |
◆ get_lv_img_dsc()
lv_img_dsc_t * esphome::image::Image::get_lv_img_dsc |
( |
| ) |
|
◆ get_pixel()
◆ get_rgb24_pixel_()
Color esphome::image::Image::get_rgb24_pixel_ |
( |
int |
x, |
|
|
int |
y |
|
) |
| const |
|
protected |
◆ get_rgb565_pixel_()
Color esphome::image::Image::get_rgb565_pixel_ |
( |
int |
x, |
|
|
int |
y |
|
) |
| const |
|
protected |
◆ get_rgba_pixel_()
Color esphome::image::Image::get_rgba_pixel_ |
( |
int |
x, |
|
|
int |
y |
|
) |
| const |
|
protected |
◆ get_type()
ImageType esphome::image::Image::get_type |
( |
| ) |
const |
◆ get_width()
int esphome::image::Image::get_width |
( |
| ) |
const |
|
overridevirtual |
◆ has_transparency()
bool esphome::image::Image::has_transparency |
( |
| ) |
const |
|
inline |
◆ set_transparency()
void esphome::image::Image::set_transparency |
( |
bool |
transparent | ) |
|
|
inline |
◆ data_start_
const uint8_t* esphome::image::Image::data_start_ |
|
protected |
◆ dsc_
lv_img_dsc_t esphome::image::Image::dsc_ {} |
|
protected |
◆ height_
int esphome::image::Image::height_ |
|
protected |
◆ transparent_
bool esphome::image::Image::transparent_ |
|
protected |
◆ type_
◆ width_
int esphome::image::Image::width_ |
|
protected |
The documentation for this class was generated from the following files:
- /opt/build/esphome/esphome/components/image/image.h
- /opt/build/esphome/esphome/components/image/image.cpp