阅读背景:

DrawImage无法正确定位切片图像

来源:互联网 

For a couple of days now I've tried to figure out why my nine-slice code does not work as expected. As far as I can see, there seems to be an issue with the Graphics.DrawImage method which handles my nine slice images incorrectly. So my problem is how to compensate for the incorrect scaling that is performed when running my code on the compact framework. I might add that this code of course works perfectly when running in the full framework environment. The problem only occurs when scaling the image to a larger image not the other way around. Here is the snippet:For a couple of days now I've tried to figure o




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: