How can i get all the co-ordinates of any object like text or any image that are drawn on QPaint?

Thanks..