mirror of
https://github.com/paperdash/device-epd.git
synced 2024-11-16 06:13:17 +00:00
20 lines
314 B
C
20 lines
314 B
C
#ifndef IMAGE_H
|
|
#define IMAGE_H
|
|
|
|
#include <Arduino.h>
|
|
|
|
typedef struct
|
|
{
|
|
size_t format;
|
|
int x;
|
|
int y;
|
|
int w;
|
|
int h;
|
|
bool dithering;
|
|
} structImageProcess;
|
|
|
|
void ImageNew(int x, int y, int w, int h, bool dithering);
|
|
void ImageWriteBuffer(uint8_t buff[], size_t c);
|
|
void ImageFlushBuffer();
|
|
|
|
#endif /* IMAGE_H */ |