draw segments as geometry