From 2788b437751963cb933eadbcbc0dd5ff33fa7338 Mon Sep 17 00:00:00 2001 From: infirit Date: Sun, 6 Sep 2015 11:43:35 +0200 Subject: A bunch of annotation fixes from Eog --- src/eom-transform.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'src/eom-transform.c') 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) { -- cgit v1.2.1