public void setSize(int w, int h) { width = Convert.ToInt32(Math.Ceiling((double)w)); height = Convert.ToInt32(Math.Ceiling((double)h)); }