GDI+中Graphics的DPI与Bitmap的DPI不一致问题解决

xingyun86 2022-9-9 497

GDI+中,Graphics的DPI与Bitmap的DPI不一致。

设置图片的DPI 跟 Graphics一致就可以了。

bitmap->SetResolution(graphics->GetDpiX(),graphics->GetDpiY())


×
打赏作者
最新回复 (0)
只看楼主
全部楼主
返回