Blit an area from one surface to another
#include <gf/gf.h> int gf_draw_blit2( gf_context_t context, gf_surface_t ssurface, gf_surface_t dsurface, int sx1, int sy1, int sx2, int sy2, int dx, int dy );
This function copies the area defined by src, from the source surface to the same-sized area in the destination surface, offset by dst. If the source and destination surfaces are the same, overlapping blits are supported.
|The destination rectangle is subject to clipping only if the destination surface is the surface currently targeted by the context (or NULL). Otherwise the destination rectangle is subject to the boundaries of the destination surface. The source rectangle is subject only to the boundaries of the source surface.|
QNX Graphics Framework