Added sprite drawing function to Graphics