
Developers,
I've just been scrutinising the code for guidelines, specifically the code that draws the little circle indicating the main co-ordinate of the guideline.
What it looks like is back in 2009 the code src/display/sp-ctrlpoint code was a clone of the much older original code in src/display/sp-ctrlquadr which we've had since at least 2005.
ctrlquadr draws a square using cairo, used by ui/tools/text-tool only ctrlpoint draws a circle using cairo, used by display/guideline only
If we could replace these two instances with Knot objects, we should be able to remove this code completely? (11.8KB, 1150 lines) Are there any land minds you are aware of with this code? (somewhere it's being used without being able to find it?)
For comparison, SPCtrlLine and SPCtrlCurve are used by pen-tool, mesh-tool, gradient-tool, text-tool and the measure-tool. So they're very well used in comparison.
Best Regards, Martin Owens