我将如何在 Windows GDI、C++ 中旋转位图?
最佳答案
您可以使用 GDI+ ( #include <gdiplus.h>
) 来完成。图形类有 RotateTransform method .这允许任意旋转。使用 Image::RotateFlip()如果您只需要以 90 度为增量旋转,效率会高很多。
关于c++ - 如何在 Windows GDI 中旋转位图?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2270110/