Added QRect and antialiasing support for QPainter, updated some function in QPainter.