March 29, 2024

Dynamic Windows Function [dw_pixmap_stretch_bitblt]

Syntax

int dw_pixmap_stretch_bitblt(HWND dest, HPIXMAP destp, int xdest, int ydest, int width, int height, HWND src, HPIXMAP srcp, int xsrc, int ysrc, int srcwidth, int srcheight)

Parameters

HWND dest: Destination window handle.
HPIXMAP destp: Destination pixmap. (choose only one).
int xdest: X coordinate of destination.
int ydest: Y coordinate of destination.
int width: Width of the target area.
int height: Height of the target area.
HWND src: Source window handle.
HPIXMAP srcp: Source pixmap. (choose only one).
int xsrc: X coordinate of source.
int ysrc: Y coordinate of source.
int srcwidth: Width of area to copy.
int srcheight: Height of area to copy.

Returns

int DW_ERROR_NONE on success and DW_ERROR_GENERAL on failure.

Description

Copies from one surface to another allowing for stretching.

Remarks

This API was introduced in version 2.2.