On Thu Sep 8 03:48:13 2022 +0000, Ziqing Hui wrote:
Node input count is a constant. And `AddNode()` is the place where we create `d2d_transform_node`. `d2d_transform_node` is not node object itself. In fact it is a wrapper of `ID2D1TransformNode` and holds a reference to it. `ID2D1TransformNode` is the real node object. I think `d2d_transform_node` should relies on `ID2D1TransformNode` interface, instead of concrete implementation of `ID2D1TransformNode`. So this array should be in `d2d_transform_node`, not in implementation of `ID2D1TransformNode`. And we create this array in `AddNode()` where we create our `d2d_transform_node`.
(I didn't change this in v2.)