Methods Added for Visual Studio 2010 SP1
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Visual Studio 2010 SP1 is required.
The MFC library now supports animation and Direct 2D (D2D). The following table provides links to the reference documentation for relevant methods that are either global or have been added to pre-existing classes..
Global Methods
Method |
Description |
---|---|
Creates a rotation transformation that rotates by a specified angle around a specified point. |
|
Returns a pointer to the ID2D1Factory interface that is stored in the global data. If the interface is not initialized, it is created and has the default parameters. |
|
Returns a pointer to the IWICImagingFactory interface that is stored in the global data. If the interface is not initialized, it is created and has the default parameters. |
|
Returns a pointer to the IDWriteFactory interface that is stored in the global data. If the interface is not initialized, it is created and has the default parameters. |
|
Initializes D2D, DirectWrite, and WIC factories. Call this method before the main window is initialized. |
|
Determines whether the D2D was initialized. |
New Methods in Existing Classes
Method |
Description |
---|---|
Enables or disables window D2D support. Call this method before the main window is initialized. |
|
Gets a render target that is associated with this window. |
|
Determines whether D2D support is enabled. |
|
Enables application D2D support. Call this method before the main window is initialized. |