2010/3/26 Abhishek Sharma <spyzer.abhishek0@...400...>:
Hello all, I had previously introduced myself as a GSOC 2010 aspirant. I am devoting myself to the idea of c++ifying(in Object Oriented manner) the inkscape code. For that I am trying to move into the code and traversing, but due to its vastness am facing problems in it. I got hold of a very old bug, "Y Scale inversion" -> https://bugs.launchpad.net/inkscape/+bug/170049. As i have seen the heat on this, this bug is of a very wide scope and so can actually help me to involve myself with much of the inkscape codebase. So it is my urgent and honest request to inkscape developers as well as corresponding GSOC mentors to just direct me as to where in the code I should start tracking and removing the bug. I will be glad. Thanking You. Yours sincerely, -- Abhishek Sharma
This is going to be rather involved. First you should try changing SPDesktop::dt2doc and SPDesktop::doc2dt to return an identity matrix, and look what breaks when you do this. In general, look at what SPDesktop's methods and sp_item_i2d_affine (in sp-item.cpp) do. What we need is changing the "desktop" coordinate system to be equal to the "document" coordinate system.
I heard you are working on code in src/ui/view/edit-widget.cpp. This code is dead and EditWidget is never instantiated. Start at src/desktop.cpp and work from there.
Regards, Krzysztof