I am new to GDI+ and I am trying to use Graphics :: RotateTransform to rotate some objects. I can rotate the whole DC by some angle, but it rotates it around 0,0.
1. I want to rotate the DC around a specific point of the DC , and not 0,0. Say, I want to rotate around the center so the point would be (rc.right - rc.left)/2 , (rc.bottom - rc.top)/2. Can you provide me sample code to do that ? I 've seen the Matrix and other Graphics :: transform-related stuff, but since I am new to affline transformations I don't understand then pretty well.
2. Can I do the same with just a part of the DC, and not the entire DC ?