>>> Also I'm surprised that you haven't put the code get_min_distance >>> code for each edge type into a function. Would you prefer that I >>> comment re these on github? >> >> I don't think that will be necessary. I will fix that while adding >> in FreeType. That repository is just for testing and I might >> delete it in the future. > > I understand. I find it using functions generously makes one's code > develop and flow better.
I agree with Behdad. Using functions, even for stuff that gets called only once, greatly enhances readability of code, among other things. So please proceed as you plan :-) Werner