as many other users, I also want to create a node-based editor with imGui. I was involved with tooll.io for which we used WPF. So far I am very very happy to have replaced this with imGUI. However, one thing I don’t really understand with imGui, is why it doesn’t use transform matrices for to scroll and zoom the content of child containers.
I can see, that clipping calculation would become much less efficient with rotations. And I know from experience that the clipping of transformed containers is very buggy in Unity’s imgui, too.
But what would be a suitable approach, of how to pass a zoom factor to nested child elements? One that not only affects the font size but also things like pixel-units for elements, line weight and border-radius? I.e. an implementation that would not require adjusting the code of children?
imgui is a great project. So please read this post as a beginner’s question, not as critic.