Skip to content

{ Category Archives } WPF

WPF Layered Windows, update for Hardware Acceleration

Good news! A QFE has been released to enable WPF HW acceleration on layered windows on XP: http://support.microsoft.com/kb/937106/en-us enjoy!

WPF: “Why do my bitmaps look blurry?” by Anthony Hodsdon & Miles Cohen

[this post was originally posted on http://blogs.msdn.com/seema on Nov 07, 2006. It is reposted here as I’m moving hosting sites -Seema] Guest Writers: Anthony & Miles are Developers on the WPF 2D Graphics team. Anthony specializes on our Geometry, Miles focuses on the Brushes codepath. We in WPF-land have been fielding a lot questions from […]

On some monitors, it seems that thin WPF lines are blurred across two pixels instead of one. Ick. How do I get sharply rendered lines?

[this post was originally posted on http://blogs.msdn.com/seema on Oct 31, 2006. It is reposted here as I’m moving hosting sites -Seema] Rectangle Without Pixel snapping With Pixel Snapping An anti-aliased rectangle zoomed in on Magnifier: WPF offers a way to get sharp lines and keep anti-aliasing, by auto-magically aligning the horizontal and vertical edges of […]

WPF: Layered windows…SW is sometimes faster than HW

[this post was originally posted on http://blogs.msdn.com/seema on Oct 25, 2006. It is reposted here as I’m moving hosting sites -Seema] Previously, I had posted that Avalon’s layered windows on XP will be rendered via the software pipeline. One can create a layered window by setting Window.AllowsTransparency=”true”. I’ve seen a few forum posts about performance issues, and […]

WPF: After animating text, the text seems to pause for 1 second and then render more sharply than before. Why is that?

[this post was originally posted on http://blogs.msdn.com/seema on Oct 20, 2006. It is reposted here as I’m moving hosting sites -Seema] In all 4 images, we see anti-aliased, sub-pixel positioned, ClearType text. The rendering on the right column is pixel snapped, which sends the glyphs through a refined codepath by Mikhail Lyapunov for rendering the […]

WPF HW Acceleration of Layered Windows for RTM

[this post was originally posted on http://blogs.msdn.com/seema on Sept 18, 2006. It is reposted here as I’m moving hosting sites -Seema] To obtain GPU-accelerated rendering, Windows Presentation Foundation (WPF) normally renders and presents graphical content through the DirectX pipeline – including the composition of the scene geometry and presentation of the results. Since before Windows […]

WPF (Avalon) Hardware Acceleration & Video Driver Compat

[this post was originally posted on http://blogs.msdn.com/seema on June 5, 2006. It is reposted here for completeness Hello. Seema Ramchandani here, PM of the Avalon 2d & 3D graphics team. Many people have asked me about what is this celebrated feature called “Hardware Acceleration”. In this post, “hardware acceleration” refers to harnessing the GPU to […]