draw_surface_stretched_ext(id,x,y,w,h,color,alpha)
From YoYoGames Wiki
Description
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).
Arguments
- id (real): name of the variable which holds the ID of the surface (see surface_create).
- x (real): Left position of surface to be drawn.
- y (real): Top position of surface to be drawn.
- w (real): Width of surface to be drawn.
- h (real): Height of surface to be drawn.
- color (real): Colour blending color.
- alpha (real): Transparency of surface.
Remarks
Must be called in the draw event.
See Also
- Surfaces - a complete Game Maker tutorial in surfaces.
Content from GMKB, was used to expand this article. The content was contributed by Eyas Sharaiha.

