![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Perform a scaled blit
#include <gf/gf.h> int gf_draw_blitscaled( gf_context_t context, gf_surface_t ssurface, gf_surface_t dsurface, int sx1, int sy1, int sx2, int sy2, int dx1, int dy1, int dx2, int dy2 );
gf
This function copies the rectangle defined by the source coordinates, from a source surface to a destination surface, scaling the source rectangle as necessary to fit the destination coordinates. The source and destination can not be the same surface.
![]() |
If you are blitting on the same surface (that is, ssurface and dsurface point to the same surface), the source and destination rectangles can't overlap. If they do, the results are unpredictable. |
QNX Graphics Framework
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
gf_draw_blit1(), gf_draw_blit2()
![]() |
![]() |
![]() |
![]() |