Add 2D drawing functionality.