[Solved]QPixmap being clipped after rotation
rotate_image_implace(img, angle); //rotate the img with angle degrees
type of graph_pixmap_ is QGraphicsPixmapItem
type of graph_scene_ is QGraphicsScene
This may clip the image if their height and width are different, how could
I rotate the image without clipping it?
Because the program need to save the image after rotating and mirror(vertical and horizontal),
rotation of QGraphicsPixmapItem is not adopted.
After struggling of several hours, I find out that my scaling methods has some bugs, sorry to
bother you all.