In this tutorial a new class, the Sprite class, is designed to facilitate the use of bitmap images. The Painter's Algorithm is explained and implemented to draw sprites in the correct order.
This tag aggregates all tutorials on various DirectX topics.
In this tutorial we learn about bitmaps and pixmaps. We study the BMP format and learn how to use the Windows Imaging Component to load image files from the harddisk into our games.
This tutorial covers the important concept of affine linear transformations in Direct2D, namely Translations, Scaling, Rotations and Shearing. We will learn how to apply those transformations to entire render targets, brushes and geometries.
This tutorial is an introduction to Direct2D Geometries, especially Path Geometries, which are one or multiple figures consisting of lines, arcs and Bézier segments.
This tutorial explains the different brushes and strokes in Direct2D: solid colour brushes, linear and radial gradient brushes and stroke styles.
This tutorial is a basic introduction to drawing geometrical figures in 2D. It focuses on rectangles and ellipses, and the difference between "drawing" and "filling".
This optional short tutorial covers the updates DIrect2D received over the years as well as a few efficiency paradigms.