| Windows Presentation Foundation |
Article Index for Windows |
Website Links For Windows |
Information AboutWindows Presentation Foundation |
| CATEGORIES ABOUT WINDOWS PRESENTATION FOUNDATION | |
| windows multimedia | |
| microsoft apis | |
| presentation foundation | |
| graphics software | |
| windows vista | |
|
The Windows Presentation Foundation (or '''WPF'''), formerly code named '''Avalon''', is the graphical subsystem feature of , Vector Graphics , Raster Graphics , animation, data binding, audio and video. WPF/E is a subset of WPF, and stands for "Windows Presentation Foundation Everywhere". It is basically a mobile version of WPF, based on XAML and Javascript. 3D features are not included, but XPS , vector-based drawing, and hardware acceleration, are. FEATURES The following is a partial list of WPF features. Graphical Services
Deployment
Interoperability
Media Services
Data Binding
User Interface
Annotations Imaging Effects Text WPF includes a number of text rendering features that were not available in GDI . This is the first Windows programming interface to expose OpenType features to software developers, supporting both OpenType, TrueType, and OpenType CFF fonts. Support for OpenType includes:
Other typography features provided by WPF include line-level Justification , Ruby Character s, WPF text rendering takes advantage of advances in ClearType technology. WPF also offers hardware-accelerated text rendering, as well as aggressive cacheing of pre-rendered text in video memory. The extent to which this is supported is dependant on the video card. DirectX 10 cards will be able to cache the font glyphs in video memory, then perform the composition (assembling of character glyphs in the correct order, with the correct spacing), alpha-blending (application of anti-aliasing), and RGB blending (ClearType's sub-pixel color calculations), entirely in hardware. This means that only the original glyphs need to be stored in video memory once per font (Microsoft estimates that this would require 2MB of video memory per card), and other operations such as the display of anti-aliased text on top of other graphics – including video – can also be done with no computation effort on the part of the CPU. DirectX 9 cards are only able to cache the alpha-blended glyphs in memory, thus requiring the CPU to handle glyph composition and alpha-blending before passing this to the video card. Cacheing these partially-rendered glyphs requires significantly more memory (Microsoft estimates 5MB per process). Cards that don't support DirectX 9 have no hardware-accelerated text rendering capabilities. Animated text is also supported; this refers to animated glyphs, as well as real-time changes in position, size, color, and opacity of the text. Input Accessibility XAML Following the success of Markup Language s for web development, WPF introduces a new language known as eXtensible Application Markup Language ( XAML ), which is a variant of XML . It is meant to be a faster way to develop application user interfaces and a better way for designers and developers to collaborate. Using XAML to develop user interfaces also allows for separation of model and view; this is generally considered a good architectural principle. In XAML, every element maps onto a class in the underlying API, and the attributes are set as properties on the instantiated classes. As in web development, both layouts and specific themes are well suited to markup, but XAML is not required for either. Indeed, all elements of WPF may be coded in a .NET language such as C# . The XAML code is ultimately compiled into a managed assembly in the same way all .NET languages are, which means that the use of XAML for development does not incur a performance cost. It is likely that many applications, such as Microsoft PowerPoint and Word , will support exporting their content to WPF through a XAML representation. There are several subset (or profiles) of XAML, such as:
There are also profiles specific to Workflow Foundation, and other domain specific subsets will likely emerge in the future. TOOLS There are a number of development tools available for developing Windows Presentation Foundation applications, all currently of beta quality.
WPF/E ]] Windows Presentation Foundation/Everywhere is an extention to WPF to provide a subset of WPF features, such as hardware accelerated video, vector graphics, and animations to platforms other than Windows Vista . Specifically, WPF/E will be provided as a plug-in for Windows XP , Windows 2000 , Mozilla Firefox , Apple Safari and mobile devices. These extensions will allow the browsers and other applications to use WPF/E graphical capabilities. The browser extensions will be in the line of Macromedia Flash , a highly popular graphic plug-in available for most browsers. Internet Explorer will have native support for WPF in Windows Vista , and will support WPF/E in older versions. SEE ALSO EXTERNAL LINKS
|
|
|