Path drawing helper