void TouchRectangle::Draw(){ ofSetHexColor(0xffffff); ofSetRectMode(OF_RECTMODE_CENTER); ofPushMatrix(); ofTranslate(x, y); ofRotateZ(rotation); ofScale(scale, scale, 1); image.draw(0, 0, width, width); ofPopMatrix(); }