I'm trying to extract xy coordinates for points along a curved line in a ggplot. `ggplot_build()` shows some of the data, but it still only contains the start and end coordinates of the curve. Is there any way to get at the intermediate points?

Edit:
Example code using `geom_curve()`.

```
ggplot(df, aes(x = x, y = y, xend = xend, yend=yend)) + geom_curve(curvature = .4)

```