summaryrefslogtreecommitdiff
path: root/include/gutenprint/curve.h
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@debian.org>2008-10-26 17:28:20 +0000
committerRoger Leigh <rleigh@debian.org>2008-10-26 17:28:20 +0000
commit9d82a443d65ea3e4e015ba6988208231fa8fdc77 (patch)
tree6bb518bb7ffbba8393cbca14bc68dea485932619 /include/gutenprint/curve.h
parentf9238b191d14686b9beba78893dff0a8dff9c087 (diff)
Imported Upstream version 5.1.98.2
Diffstat (limited to 'include/gutenprint/curve.h')
-rw-r--r--include/gutenprint/curve.h27
1 files changed, 23 insertions, 4 deletions
diff --git a/include/gutenprint/curve.h b/include/gutenprint/curve.h
index fbdeab3..d763aa1 100644
--- a/include/gutenprint/curve.h
+++ b/include/gutenprint/curve.h
@@ -1,5 +1,5 @@
/*
- * "$Id: curve.h,v 1.1 2004/09/17 18:38:01 rleigh Exp $"
+ * "$Id: curve.h,v 1.2 2008/01/21 23:19:37 rlk Exp $"
*
* libgimpprint curve functions.
*
@@ -126,7 +126,7 @@ typedef struct
extern stp_curve_t *stp_curve_create(stp_curve_wrap_mode_t wrap);
/**
- * Copy and allocate an curve.
+ * Copy and allocate a curve.
* dest will be created, and then the contents of source will be
* copied into it. dest must not have been previously allocated
* with stp_curve_create().
@@ -136,7 +136,7 @@ extern stp_curve_t *stp_curve_create(stp_curve_wrap_mode_t wrap);
extern stp_curve_t *stp_curve_create_copy(const stp_curve_t *curve);
/**
- * Copy an curve.
+ * Copy a curve.
* Both dest and source must be valid curves previously created with
* stp_curve_create().
* @param dest the destination curve.
@@ -145,6 +145,25 @@ extern stp_curve_t *stp_curve_create_copy(const stp_curve_t *curve);
extern void stp_curve_copy(stp_curve_t *dest, const stp_curve_t *source);
/**
+ * Reverse and allocate a curve.
+ * dest will be created, and then the contents of source will be
+ * copied into it. dest must not have been previously allocated
+ * with stp_curve_create().
+ * @param curve the source curve.
+ * @returns the new copy of the curve.
+ */
+extern stp_curve_t *stp_curve_create_reverse(const stp_curve_t *curve);
+
+ /**
+ * Reverse a curve.
+ * Both dest and source must be valid curves previously created with
+ * stp_curve_create().
+ * @param dest the destination curve.
+ * @param source the source curve.
+ */
+extern void stp_curve_reverse(stp_curve_t *dest, const stp_curve_t *source);
+
+ /**
* Destroy an curve.
* It is an error to destroy the curve more than once.
* @param curve the curve to destroy.
@@ -682,5 +701,5 @@ extern int stp_curve_compose(stp_curve_t **retval,
#endif /* GUTENPRINT_CURVE_H */
/*
- * End of "$Id: curve.h,v 1.1 2004/09/17 18:38:01 rleigh Exp $".
+ * End of "$Id: curve.h,v 1.2 2008/01/21 23:19:37 rlk Exp $".
*/