![]() |
Display Simple Graphics library
v0.5
Library containing shape, text, and bitmap drawing functions called by various display drivers
|
#include "simplegfx.h"
Functions | |
void | drawCopy (screen_t *dev, int x, int y, int w, int h, int x0, int y0) |
Copies a rectagle and draws it at another location on the screen. More... | |
void drawCopy | ( | screen_t * | dev, |
int | x, | ||
int | y, | ||
int | w, | ||
int | h, | ||
int | x1, | ||
int | y1 | ||
) |
Copies a rectagle and draws it at another location on the screen.
dev | Pointer to the display's device structure returned by the initialization function. |
x | Horizontal coordinate of the top-left corner of the rectangle to be copied. |
y | Vertical coordinate of the top-left corner of the rectagle to be copied. |
w | Width of the rectagle to be copied. |
h | Height of the rectagle to be copied. |
x1 | Horizontal coordinate of the location to paste the copied rectagle to. |
y1 | Vertical coordinate of the location to paste the copied rectagle to. |