9static const char *
const TAG =
"image_decoder";
21 for (
int i =
x * this->
x_scale_; i < width; i++) {
22 for (
int j =
y * this->
y_scale_; j < height; j++) {
void draw(int x, int y, int w, int h, const Color &color)
Fill a rectangle on the display_buffer using the defined color.
bool set_size(int width, int height)
Request the image to be resized once the actual dimensions are known.
int get_buffer_height() const
int resize(int width, int height)
Resize the image buffer to the requested dimensions.
int get_buffer_width() const
void draw_pixel(int x, int y, const Color &color)