IIRC gEDA PCB did their implementation with VBOs, so it may be helpful to have a look. Peter Clifton is the main author. -Vesa