Generalize dynamic guide implementation. The shape creation tool now supports guide snapping.