[gimp] app: Add minimum gimp_display_shell_transform_xy() gkt-doc
- From: Martin Nordholts <martinn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: Add minimum gimp_display_shell_transform_xy() gkt-doc
- Date: Fri, 18 Jun 2010 18:57:51 +0000 (UTC)
commit 0af34013a2fd811d2043c37fcdd1ee97275d89be
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]