src/modules/graphics/opengl/wrap_Graphics.cpp
int _wrap_draws(lua_State * L)
	{
		Image * image = luax_checktype<Image>(L, 1, "Image", LOVE_GRAPHICS_IMAGE_BITS);
		float x = (float)luaL_optnumber(L, 2, 0.0f);
		float y = (float)luaL_optnumber(L, 3, 0.0f);
		float angle = (float)luaL_optnumber(L, 4, 0.0f);
		float sx = (float)luaL_optnumber(L, 5, 1.0f);
		float sy = (float)luaL_optnumber(L, 6, sx);
		float ox = (float)luaL_optnumber(L, 7, 0);
		float oy = (float)luaL_optnumber(L, 8, 0);
		float rx = (float)luaL_optnumber(L, 9, 0);
		float ry = (float)luaL_optnumber(L, 10, 0);
		float rw = (float)luaL_optnumber(L, 11, image->getWidth());
		float rh = (float)luaL_optnumber(L, 12, image->getHeight());
		image->draws(x, y, angle, sx, sy, ox, oy, rx, ry, rw, rh);
		return 0;
	}
/**
	* Draws an Image at the specified coordinates, with rotation and 
	* scaling along both axes.
	* @param x The x-coordinate.
	* @param y The y-coordinate.
	* @param angle The amount of rotation.
	* @param sx The scale factor along the x-axis. (1 = normal).
	* @param sy The scale factor along the y-axis. (1 = normal).
	* @param ox The offset along the x-axis.
	* @param oy The offset along the y-axis.
	* @param rx The upper-left corner of the source rectangle along the x-axis.
	* @param ry The upper-left corner of the source rectangle along the y-axis.
	* @param rw The width of the source rectangle.
	* @param rw The height of the source rectangle.
	**/
Draws an Image at the specified coordinates, with rotation and
scaling along both axes.
@param x The x-coordinate.
@param y The y-coordinate.
@param angle The amount of rotation.
@param sx The scale factor along the x-axis.
Draws an Image at the specified coordinates with rotation and scaling along both axes . @param x The x - coordinate . @param y The y - coordinate . @param angle The amount of rotation . @param sx The scale factor along the x - axis .
int _wrap_draws(lua_State * L)
	{
		Image * image = luax_checktype<Image>(L, 1, "Image", LOVE_GRAPHICS_IMAGE_BITS);
		float x = (float)luaL_optnumber(L, 2, 0.0f);
		float y = (float)luaL_optnumber(L, 3, 0.0f);
		float angle = (float)luaL_optnumber(L, 4, 0.0f);
		float sx = (float)luaL_optnumber(L, 5, 1.0f);
		float sy = (float)luaL_optnumber(L, 6, sx);
		float ox = (float)luaL_optnumber(L, 7, 0);
		float oy = (float)luaL_optnumber(L, 8, 0);
		float rx = (float)luaL_optnumber(L, 9, 0);
		float ry = (float)luaL_optnumber(L, 10, 0);
		float rw = (float)luaL_optnumber(L, 11, image->getWidth());
		float rh = (float)luaL_optnumber(L, 12, image->getHeight());
		image->draws(x, y, angle, sx, sy, ox, oy, rx, ry, rw, rh);
		return 0;
	}
int _wrap_draws ( lua_State * L ) { Image * image = luax_checktype < Image > ( L , 1 , " " , LOVE_GRAPHICS_IMAGE_BITS ) ; float x = ( float ) luaL_optnumber ( L , 2 , 0.0f ) ; float y = ( float ) luaL_optnumber ( L , 3 , 0.0f ) ; float angle = ( float ) luaL_optnumber ( L , 4 , 0.0f ) ; float sx = ( float ) luaL_optnumber ( L , 5 , 1.0f ) ; float sy = ( float ) luaL_optnumber ( L , 6 , sx ) ; float ox = ( float ) luaL_optnumber ( L , 7 , 0 ) ; float oy = ( float ) luaL_optnumber ( L , 8 , 0 ) ; float rx = ( float ) luaL_optnumber ( L , 9 , 0 ) ; float ry = ( float ) luaL_optnumber ( L , 10 , 0 ) ; float rw = ( float ) luaL_optnumber ( L , 11 , image -> getWidth ( ) ) ; float rh = ( float ) luaL_optnumber ( L , 12 , image -> getHeight ( ) ) ; image -> draws ( x , y , angle , sx , sy , ox , oy , rx , ry , rw , rh ) ; return 0 ; }
Draws an Image at the specified coordinates, with rotation and
 scaling along both axes.
Draws an Image at the specified coordinates with rotation and scaling along both axes .