Code base for ID2D