draw_surface_stretched_ext(id,x,y,w,h,color,alpha)

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

x = Left position of surface to be drawn.

y = Top position of surface to be drawn.

w = Width of surface to be drawn.

h = Height of surface to be drawn.

color = Colour blending color.

alpha = Transparency of surface.

 

Example

draw_surface_stretched_ext(surface,32,16,300,200,c_white,.6);

 

This function draws a surface with the given ID on the screen in the position x,y. The surface drawn will be stretched to have the width of w and height of h. It will have the color blending value of color and the transparency value of alpha (where 1=opaque).

 

esh_corp11 - Revision #1