Direct2D Succinctly by Chris Rose
If you've ever tried to work with Direct2D from scratch, you may have found the boilerplate code overwhelming. With Direct2D Succinctly by Chris Rose, you have a straightforward, step-by-step guide to rendering graphics with Direct2D. After starting a simple Hello, World! template application in Visual Studio, you'll gradually add to it until you have a complete charting system that features multiple pages, zooming functionality, and printing support. The final chapters of the book are devoted to Direct3D. Though Direct3D is capable of rendering 3-D graphics, it can render 2-D graphics much faster than Direct2D.
Graphics programming