1

I found a lot of information that IE9 uses DirectWrite and Direct2D instead of GDI for rendering UI. Is the same true for WPF and Silverlight applications?

user829283
  • 11
  • 2

2 Answers2

2

WPF renders on top of Direct3D 9 (preventing the use of Direct2D), but they do still use DirectWrite for the text rendering as of WPF 4.0 on Windows 7 (ref). Since DirectWrite exists separately from Direct2D, they are able to use the lower-level interfaces to DirectWrite and reimplement the rendering on top of Direct3D 9, similarly to how Direct2D provides its text acceleration.

zhuman - MSFT
  • 1,028
  • 12
  • 16
1

No, WPF works on top of DirectX 9.

jonsca
  • 10,218
  • 26
  • 54
  • 62
  • 2
    WPF 4.0 adopted DirectWrite around 2011, just not Direct2D ("The WPF text rendering stack has been completely replaced" http://msdn.microsoft.com/en-us/library/vstudio/bb613588(v=vs.100).aspx#text). Some of the developers working DirectWrite even came from WPF. http://blogs.msdn.com/b/text/archive/2009/04/13/directwrite-questions-and-answers.aspx – Dwayne Robinson Nov 03 '14 at 21:11
  • @DwayneRobinson Could you help with this question? http://stackoverflow.com/questions/23173303/color-emoji-support-in-winforms-wpf-application – SepehrM Dec 30 '14 at 12:12