ggiCrossBlit — Copy a rectangular area between two visuals
#include <ggi/ggi.h>
int ggiCrossBlit( | src, | |
sx, | ||
sy, | ||
sw, | ||
sh, | ||
dst, | ||
dx, | ||
dy) ; |
ggi_visual_t | src; |
int | sx; |
int | sy; |
int | sw; |
int | sh; |
ggi_visual_t | dst; |
int | dx; |
int | dy; |
Blits a rectangular memory area from one visual to another. It handles colorspace-conversion. (Though it can be quite expensive, so take care.)
ggiCrossBlit will transfer an area from the source visual's read frame to the destination visual's write frame.
This function does not perform stretching.
0 for OK, otherwise an error code.