Do Silverlight or WPF applications use Direct2D or DirectWrite to render fonts and UI?
I found a lot of info开发者_如何转开发rmation that IE9 uses DirectWrite and Direct2D instead of GDI for rendering UI. Is the same true for WPF and Silverlight applications?
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.
No, WPF works on top of DirectX 9.
加载中,请稍侯......
精彩评论