Path generation for cursors.