I think the code is probably horrendous, but I kind of like xfig, it has a kind of brutal simplicity, but it can still handle complex drawings well.
Incidentally, I've used it to export postscript that was then templated using the {{tags}} entered in xfig directly cheers aes