Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要一种在 WPF 中绘制具有粗糙、纹理或仿旧效果的线条的方法,就好像它们是由真正的画笔或笔触绘制的一样。我可以通过某种方式使用图形元素来做我想做的事,但这种方法不能很好地扩展。有什么建议么?
我认为你可以通过使用for循环处理位图中的像素来完成它从画笔位图中获取像素并启动另一个for循环来设置目标位图上的像素
我已经做过一次,但这真的很难