d2d1
D2D1 is the core API surface and data type namespace for Direct2D, a Windows graphics API designed for high-performance, hardware-accelerated 2D rendering. The term encompasses the public interfaces, structures, and enumerations used to create and manipulate 2D graphics, including vector shapes, bitmaps, and text, with an emphasis on efficiency and quality through GPU acceleration. Direct2D is designed to work closely with Direct3D for rendering, and it integrates with DirectWrite for text layouts and Windows Imaging Component (WIC) for image handling.
The typical Direct2D workflow begins with creating an ID2D1Factory object via D2D1CreateFactory. The factory is then
D2D1 defines many fundamental data types, including D2D1_POINT_2F, D2D1_RECT_F, D2D1_SIZE_F, and D2D1_COLOR_F, along with transformation matrices
See also: Direct2D, DirectWrite, Windows Imaging Component, COM.