[gimp/soc-2010-cage] app: Add minimum gimp_display_shell_transform_xy() gkt-doc
- From: Michael Muré <mmure src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2010-cage] app: Add minimum gimp_display_shell_transform_xy() gkt-doc
- Date: Wed, 30 Jun 2010 22:10:18 +0000 (UTC)
commit aecb57ff084530951c4004b8bea9abfdabc7d6ce
Author: Martin Nordholts <martinn src gnome org>
Date: Mon Jun 14 21:14:19 2010 +0200
app: Add minimum gimp_display_shell_transform_xy() gkt-doc
app/display/gimpdisplayshell-transform.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-transform.c b/app/display/gimpdisplayshell-transform.c
index be6d4df..88befda 100644
--- a/app/display/gimpdisplayshell-transform.c
+++ b/app/display/gimpdisplayshell-transform.c
@@ -89,6 +89,17 @@ gimp_display_shell_untransform_coordinate (const GimpDisplayShell *shell,
image_coords->y /= shell->scale_y;
}
+/**
+ * gimp_display_shell_transform_xy:
+ * @shell:
+ * @x:
+ * @y:
+ * @nx:
+ * @ny:
+ * @use_offsets:
+ *
+ * Transforms an image coordinate to a shell coordinate.
+ **/
void
gimp_display_shell_transform_xy (const GimpDisplayShell *shell,
gdouble x,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]