#include "Quad.h"
#include "SDL.h"

namespace love {
namespace Types {
namespace Graphics {

Quad::Quad(int t_x, int t_y, int t_width, int t_height, int t_sw, int t_sh)
	: x(t_x), y(t_y), width(t_width), height(t_height), sw(t_sw), sh(t_sh) {
	// Nothing.
}
Quad::Quad(int t_x, int t_y, int t_width, int t_height)
	: x(t_x), y(t_y), width(t_width), height(t_height) {
	// Nothing.
}

Quad::Quad() {
	// Nothing.
}

SDL_Rect Quad::toRect() {
	SDL_Rect rect;
	rect.x = x;
	rect.y = y;
	rect.w = width;
	rect.h = height;
	return rect;
}

}  // namespace Graphics
}  // namespace Types
}  // namespace love
