开发者

Do Silverlight or WPF applications use Direct2D or DirectWrite to render fonts and UI?

开发者 https://www.devze.com 2023-03-17 02:55 出处:网络
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 Direct

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号