GM: draw surface stretched
From GMpedia.org Wiki
- The correct title of this article is draw_surface_stretched(id,x,y,w,h). It appears incorrectly here because of technical restrictions.
- The correct title of this article is draw_surface_stretched(). It appears incorrectly here because of technical restrictions.
Arguments
id = name of the variable which holds the ID of the surface (see surface_create).
x = Horizontal position of surface.
y = Vertical position of surface.
w = Width of surface to be stretched.
h = Height of surface to be stretched.
Limitations
must be in Draw Event.
Note: Please remove limitations and port them in the "Remarks" section at the end of the article.
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.
[edit] See Also
- Surfaces - a complete Game Maker tutorial in surfaces.
This article was originally found at the Game Maker Knowledge Base, contributed by Eyas Sharaiha.
See the talk page for details
See the talk page for details

