COMDirect2D
COMDirect2D is a software library that provides a COM-based API wrapper around Direct2D, Microsoft's hardware-accelerated 2D graphics API. It enables legacy COM clients to render 2D graphics with the performance of Direct2D without rewriting rendering code. By exposing COM interfaces that map to Direct2D objects, COMDirect2D allows developers using languages that interoperate with COM (such as C++, C#, VB6) to create render targets, brushes, and geometry.
Internally it implements a set of COM-visible interfaces that mirror Direct2D concepts: factory, render targets, brushes,
Typical usage involves initializing the COM library, creating a Direct2D-compatible factory through the COM layer, creating
It is targeted at Windows platforms where Direct2D is supported. While it reduces the barrier for migrating
See also: Direct2D, DirectWrite, COM, Windows Graphics Programming.