I currently use the following code for rotating an image.
Because the image is bigger than the screen, I want to translate the image. How can I do this? For example, the upperleft corner should translate to coordinate -50, -50.
Another issue: the rotation center has to stay at the middle of the screen. How can I do that?
A last question: what is the difference between Blt en BltFast?
Thanks.
- Code:
BackBuffer.Blt(m_map, BltOptions.GDBLT_KEYSRC | BltOptions.GDBLT_ROTATIONANGLE | BltOptions.GDBLT_ROTATIONSCALE, ref bltfx);
Because the image is bigger than the screen, I want to translate the image. How can I do this? For example, the upperleft corner should translate to coordinate -50, -50.
Another issue: the rotation center has to stay at the middle of the screen. How can I do that?
A last question: what is the difference between Blt en BltFast?
Thanks.