This is an example on another example. I get the Tanner_H's code from there Color Management (ICC Profile) support in VB6: guide and sample project and I put a textbox where we can write the angle (0 is North) in degrees (I have specify 1.4 and 1.6 zoom factors). As we see the rotation is perfect for transparent png.
Also I made two options, one for 1:1 render and the other as fit to picturebox.
Pictureboxes are in non AutoRedraw mode, and that is for the ICC profile (for specific HDC). This was there as I found it in the code from Tanner_H.
The rotation and scale use single floating computation on a 2X2 pixels. Also canvas get bigger to hold any rotation.
NewOne.zip
George
Also I made two options, one for 1:1 render and the other as fit to picturebox.
Pictureboxes are in non AutoRedraw mode, and that is for the ICC profile (for specific HDC). This was there as I found it in the code from Tanner_H.
The rotation and scale use single floating computation on a 2X2 pixels. Also canvas get bigger to hold any rotation.
NewOne.zip
George