tag:blogger.com,1999:blog-8085117242240449595.post5139166692977146429..comments2023-12-21T05:46:31.718-05:00Comments on Muhammad Shujaat Siddiqi: WPF - DrawingContext and ShaderEffectMuhammad Shujaat Siddiqihttp://www.blogger.com/profile/02519138704633566929noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-8085117242240449595.post-56207077535359484272012-08-06T14:07:21.018-04:002012-08-06T14:07:21.018-04:00use
dim vc as new visualcontext
dim dc as Drawin...use <br /><br />dim vc as new visualcontext<br />dim dc as DrawingContext = vc.renderopen<br /><br />...<br /><br />dc.drawimage ()<br />dc.close<br /><br />vc.effect = new effect<br /><br />vc.render.render(vc.visual)<br /><br />it's work !Guilhermehttp://www.auesolucoes.comnoreply@blogger.comtag:blogger.com,1999:blog-8085117242240449595.post-49111157455945844042011-02-15T12:18:10.268-05:002011-02-15T12:18:10.268-05:00Amen, brother. I ran into exactly the same thing....Amen, brother. I ran into exactly the same thing. I spent all morning working on a nice Emboss effect for a watermark that I wanted to paste over my application when the license wasn't valid. To my horror when I got to the point of connecting it to the adorner for the client area, I find that only Bitmap Effects can be pushed. I'm crushed, a whole morning wasted.Unknownhttps://www.blogger.com/profile/10472477180695997034noreply@blogger.com