diff --git a/src/display/curve.h b/src/display/curve.h
index 5be8f5a4e48497157556b898acfc9489cca97e34..847d09f46628df9b483374b7126018c284a1285a 100644 (file)
--- a/src/display/curve.h
+++ b/src/display/curve.h
#include "libnr/nr-forward.h"
#include "libnr/nr-point.h"
+#include "libnr/nr-rect.h"
/// Wrapper around NArtBpath.
struct SPCurve {
SPCurve *sp_curve_new_sized(gint length);
SPCurve *sp_curve_new_from_bpath(NArtBpath *bpath);
SPCurve *sp_curve_new_from_foreign_bpath(NArtBpath const bpath[]);
+SPCurve *sp_curve_new_from_rect(NR::Maybe<NR::Rect> const &rect);
SPCurve *sp_curve_ref(SPCurve *curve);
SPCurve *sp_curve_unref(SPCurve *curve);