![]() |
Color OLED module library
v0.5
Library for the WaveShare 0.96-inch color OLED (SSD1331) module
|
#include "ssd1331.h"
Functions | |
void | ssd1331_copy (screen_t *dev, int x0, int y0, int x1, int y1, int x2, int y2) |
Creates a copy a rectangular area of the screen at another position on the screen. More... | |
void ssd1331_copy | ( | screen_t * | dev, |
int | x0, | ||
int | y0, | ||
int | w, | ||
int | h, | ||
int | x2, | ||
int | y2 | ||
) |
Creates a copy a rectangular area of the screen at another position on the screen.
dev | Pointer to the display's device structure returned by the initialization function. |
x0 | Starting horizontal coordinate of the box to be copied, counted from the left side of the screen. |
y0 | Starting vertical coordinate of the box to be copied, counted down from the top of the screen. |
w | Width of the box to be copied. |
h | Height of the box to be copied. |
x2 | Horizontal coordinate where the copied box is to be pasted. |
y2 | Vertical coordinate where the copied box is to be pasted. |