#include <image.h>
|
| | Image (const uint8_t *data_start, int width, int height, ImageType type, Transparency transparency) |
| |
| 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_img_dsc_t * | get_lv_img_dsc () |
| |
Definition at line 25 of file image.h.
◆ Image()
| esphome::image::Image::Image |
( |
const uint8_t * | data_start, |
|
|
int | width, |
|
|
int | height, |
|
|
ImageType | type, |
|
|
Transparency | transparency ) |
◆ draw()
◆ get_binary_pixel_()
| bool esphome::image::Image::get_binary_pixel_ |
( |
int | x, |
|
|
int | y ) const |
|
protected |
◆ get_bpp()
| int esphome::image::Image::get_bpp |
( |
| ) |
const |
|
inline |
◆ 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_rgb565_pixel_()
| Color esphome::image::Image::get_rgb565_pixel_ |
( |
int | x, |
|
|
int | y ) const |
|
protected |
◆ get_rgb_pixel_()
| Color esphome::image::Image::get_rgb_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 |
◆ get_width_stride()
| size_t esphome::image::Image::get_width_stride |
( |
| ) |
const |
|
inline |
Return the stride of the image in bytes, that is, the distance in bytes between two consecutive rows of pixels.
Definition at line 38 of file image.h.
◆ has_transparency()
| bool esphome::image::Image::has_transparency |
( |
| ) |
const |
|
inline |
◆ bpp_
| size_t esphome::image::Image::bpp_ {} |
|
protected |
◆ 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 |
◆ stride_
| size_t esphome::image::Image::stride_ {} |
|
protected |
◆ transparency_
◆ type_
◆ width_
| int esphome::image::Image::width_ |
|
protected |
The documentation for this class was generated from the following files: