draw_surface_stretched(id,x,y,w,h)

id = name of the variable which holds the ID of the surface (see surface_create).

x = Left position of surface to be stretched.

y = Top position of surface to be stretched.

w = Width of surface to be stretched.

h = Height of surface to be stretched.

 

Example

draw_surface_stretched(surface,32,16,500,600);

 

This function draws a stretched surface with the given ID on the screen in the position x,y. The surface will be drawn with the width w and height h.

 

esh_corp11 - Revision #1