如何确保在画布上以像素完美的方式绘制图像? [英] How do I ensure Images are drawn in a pixel-perfect way on a Canvas?
问题描述
我在StackOverflow上提出了这个问题但无法得到答案:
http://stackoverflow.com/questions/18926130/winrt-how-do-i -ensure-images-in-a-pixel-in-pixel-perfect-way-a-canvas
也许这里有人有解决方案?我希望使用XAML& amp;以像素完美的方式绘制图像。 Windows Store应用程序的C#?可能吗。我试过可能的东西但是高分辨率屏幕上的所有内容总是略微模糊或有点偏差,有140
或180比例因子。在尝试平铺图像时,这是一个非常大的问题。
"像素完美"是什么;意指NBSP;?
I asked this question on StackOverflow and couldn't get an answer:
http://stackoverflow.com/questions/18926130/winrt-how-do-i-ensure-images-are-drawn-in-a-pixel-perfect-way-on-a-canvas
Maybe someone here has a solution? I want to draw images in a pixel perfect way using XAML & C# for a Windows Store App? Is it possible. I tried may things but everything is always slightly blurry or a little bit off on high resolution screens with 140 or 180 scale factor. This is a really big problem when trying to tile images .
What does "pixel perfect" mean?
这篇关于如何确保在画布上以像素完美的方式绘制图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!