/* * PolyRectangle.cpp * Poly * * Created by Ivan Safrin on 8/7/08. * Copyright 2008 __MyCompanyName__. All rights reserved. * */ #include "PolyRectangle.h" using namespace Polycode; void Rectangle::setRect(float x, float y, float w, float h) { this->x = x; this->y = y; this->w = w; this->h = h; }