summaryrefslogtreecommitdiff
path: root/src/eom-transform.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-09-06 11:43:35 +0200
committerinfirit <[email protected]>2015-09-06 11:43:35 +0200
commit2788b437751963cb933eadbcbc0dd5ff33fa7338 (patch)
tree237fbff5d18df7894defcca177d21a5eeac1b514 /src/eom-transform.c
parent79f28eb676ac6c7e707fde3fbb47f8b02f8f5aea (diff)
downloadeom-2788b437751963cb933eadbcbc0dd5ff33fa7338.tar.bz2
eom-2788b437751963cb933eadbcbc0dd5ff33fa7338.tar.xz
A bunch of annotation fixes from Eog
Diffstat (limited to 'src/eom-transform.c')
-rw-r--r--src/eom-transform.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/eom-transform.c b/src/eom-transform.c
index 8651915..5009fab 100644
--- a/src/eom-transform.c
+++ b/src/eom-transform.c
@@ -64,6 +64,16 @@ eom_transform_class_init (EomTransformClass *klass)
g_type_class_add_private (klass, sizeof (EomTransformPrivate));
}
+/**
+ * eom_transform_apply:
+ * @trans: a #EomTransform
+ * @pixbuf: a #GdkPixbuf
+ * @job: a #EomJob
+ *
+ * Applies the transformation in @trans to @pixbuf, setting its progress in @job.
+ *
+ * Returns: (transfer full): A new #GdkPixbuf with the transformation applied.
+ **/
GdkPixbuf*
eom_transform_apply (EomTransform *trans, GdkPixbuf *pixbuf, EomJob *job)
{
@@ -220,6 +230,14 @@ _eom_cairo_matrix_flip (cairo_matrix_t *dst, const cairo_matrix_t *src, gboolean
dst->y0 = vert ? -src->y0 : src->y0;
}
+/**
+ * eom_transform_reverse:
+ * @trans: a #EomTransform
+ *
+ * Creates the reverse transformation of @trans
+ *
+ * Returns: (transfer full): a new transformation
+ **/
EomTransform*
eom_transform_reverse (EomTransform *trans)
{
@@ -236,6 +254,15 @@ eom_transform_reverse (EomTransform *trans)
return reverse;
}
+/**
+ * eom_transform_compose:
+ * @trans: a #EomTransform
+ * @compose: another #EomTransform
+ *
+ *
+ *
+ * Returns: (transfer full): a new transform
+ **/
EomTransform*
eom_transform_compose (EomTransform *trans, EomTransform *compose)
{