Added setclip and rect class, untested