WPF看到带有负过滤器的直通表格?

编程入门 行业动态 更新时间:2024-10-28 10:31:22
本文介绍了WPF看到带有负过滤器的直通表格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

你好, 我想制作一个实时否定过滤器. (就像放大镜一样,但是应用负滤镜而不是缩放) 我现在所能做的就是使表格透明. 我已经在Window.Background上尝试过位图效果,但是它不起作用. 有什么办法可以反转所选区域的颜色吗? 谢谢.

解决方案

要创建否定过滤器,您可以选中文章 [ ^ ]. 进行类似于放大镜应用程序的应用程序需要捕获屏幕(搜索代码项目,其中有很多),并确定要过滤的区域(最终将其渲染到某个地方).

Hello, I want to make a real-time negative filter. (Just like magnifier but apply negative filter instead of zooming) All I can do now is making the form transparent. I have tried Bitmap Effect on Window.Background but it''s not working. Is there any way to invert the color of the selected region ? Thank you.

解决方案

In order to create a negative filter you can check this article[^]. Making an appliation that works like the magnifier appliction involves captring the screen (search codeproject, it has plenty of those), and deciding on which area sould be filtered (and eventualy render it somewhere).

更多推荐

WPF看到带有负过滤器的直通表格?

本文发布于:2023-11-07 01:21:39,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1565168.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:过滤器   表格   WPF

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!