Dropshadow效果会导致内容模糊 [英] Dropshadow Effect causes blurred content

查看:93
本文介绍了Dropshadow效果会导致内容模糊的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好。我想知道是否有人为这一个做好了解决方案。首先我认为重要的几个背景点:1。我的应用程序有一个根视觉,其中包含
一个与浏览器窗口大小调整相关联的缩放变换,以便整个应用程序在浏览器调整大小时拉伸和缩小。我实施了"模态"。对话框(基于代码项目上的这篇文章:

http://www.codeproject.com/KB/silverlight/slmodal.aspx )可以弹出属性页面。

Hello. I'm wondering if anyone has a good work-around for this one. First a couple of background points that I think are important: 1. My application has a root visual that contains a scale transform that is tied to the browser window resizing so that the whole application stretches and shrinks as the browser is resized. 2. I've implemented "modal" dialogs (based on this article on the code project: http://www.codeproject.com/KB/silverlight/slmodal.aspx) that can pop up for properties pages.

基本问题是有时我的对话框是模糊的 - 这意味着所有文本,线条,控件,窗口中的所有内容都是模糊的。我发现对话框
的x,y位置影响了这一点,根缩放变换的比例也是如此。

我的每个对话框在UserControl标记中都具有相同的结构:

 

<Border Background="something" BorderBrush="something" CornerRadius="8" BorderThickness="2">
    <Border.Effect>
        <DropShadowEffect ShadowDepth="8" BlurRadius="10"/>
    </Border.Effect>

    <Grid>
        . . . 
    </Grid>
</Border>




如果我删除阴影效果,那么一切都很清脆。 我尝试了不同的网格和边框组合,里面是什么,等等,但没有什么
我尝试过这给了我想要的视觉最终产品,有效。 只要那个投影效果存在,事情就会变得模糊。

 

任何想法?

 

 

推荐答案

您可以尝试上传您的公关注入skydrive,然后发布链接。

You can try to upload your project to the skydrive and then post the link.

我需要你的项目来测试这个问题。

I need your project to test the issue.


这篇关于Dropshadow效果会导致内容模糊的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆