src/modules/graphics/opengl/wrap_Graphics.cpp
int _wrap_draw(lua_State * L)
	{
		Drawable * drawable = luax_checktype<Drawable>(L, 1, "Drawable", LOVE_GRAPHICS_DRAWABLE_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);
		drawable->draw(x, y, angle, sx, sy, ox, oy);
		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.
	**/
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_draw(lua_State * L)
	{
		Drawable * drawable = luax_checktype<Drawable>(L, 1, "Drawable", LOVE_GRAPHICS_DRAWABLE_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);
		drawable->draw(x, y, angle, sx, sy, ox, oy);
		return 0;
	}
int _wrap_draw ( lua_State * L ) { Drawable * drawable = luax_checktype < Drawable > ( L , 1 , " " , LOVE_GRAPHICS_DRAWABLE_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 ) ; drawable -> draw ( x , y , angle , sx , sy , ox , oy ) ; 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 .