I believe he algorithm is the first release in GDI+ world and VB world. (You always create marvels in/for VB world!!!
)
On best fit mode (rotated picture will fit the canvas,will re-size the rotated picture),it works seamless.How about non-bestfit mode (picturebox force to fit rotated picture, will auto re-size the picture box)?
scenario:
Auto-resize canvas (e.g.picturebox) when rotating a raw size picture or fixed ratio picture. What is the algorithm to calculate new size of canvas (in this case,picture is always on center of canvas or with a fixed offset X/Y) with a rotation?
I talks incessantly.




. (You always create marvels in/for VB world!!!
I talks incessantly.
Reply With Quote