The Direct2D is an API that provides the ability to perform high-quality 2D graphics rendering. An application that uses Direct2D for graphics can deliver a higher visual quality than what can be achieved by using GDI.
One of the major new features of Windows 8 is Direct2D. In the new version of Direct2D (Version 1.1), the new API does not change fundamentally, but grows up and becomes more compatible; as you may already know, the old version (which was launched with Windows 7) was only compatible with DirectX 10, but now it is one of the members of the DirectX 11.1 family and is built on top of Direct3D 11.1.
Open the final project of this chapter (that is,
Direct2D); we are going to demonstrate how to initialize and use Direct2D within ...