From e42129241681dde7adae7d20697e7b421682fbb4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 18:23:22 +0200 Subject: Adding upstream version 2.10.22. Signed-off-by: Daniel Baumann --- devel-docs/libgimpwidgets/html/GimpOffsetArea.html | 296 +++++++++++++++++++++ 1 file changed, 296 insertions(+) create mode 100644 devel-docs/libgimpwidgets/html/GimpOffsetArea.html (limited to 'devel-docs/libgimpwidgets/html/GimpOffsetArea.html') diff --git a/devel-docs/libgimpwidgets/html/GimpOffsetArea.html b/devel-docs/libgimpwidgets/html/GimpOffsetArea.html new file mode 100644 index 0000000..b8dc9cb --- /dev/null +++ b/devel-docs/libgimpwidgets/html/GimpOffsetArea.html @@ -0,0 +1,296 @@ + + + + +GimpOffsetArea: GIMP Widgets Library Reference Manual + + + + + + + + + + + + + + + + +
+
+
+ + +
+

GimpOffsetArea

+

GimpOffsetArea — Widget to control image offsets.

+
+
+

Functions

+
++++ + + + + + + + + + + + + + + + + + + +
+GtkWidget * + +gimp_offset_area_new () +
+void + +gimp_offset_area_set_size () +
+void + +gimp_offset_area_set_offsets () +
+void + +gimp_offset_area_set_pixbuf () +
+
+
+

Signals

+
+++++ + + + + + +
voidoffsets-changedRun First
+
+
+

Types and Values

+
++++ + + + + +
 GimpOffsetArea
+
+
+

Object Hierarchy

+
    GObject
+    ╰── GInitiallyUnowned
+        ╰── GtkObject
+            ╰── GtkWidget
+                ╰── GtkDrawingArea
+                    ╰── GimpOffsetArea
+
+
+
+

Implemented Interfaces

+

+GimpOffsetArea implements + AtkImplementorIface and GtkBuildable.

+
+
+

Description

+

Widget to control image offsets.

+
+
+

Functions

+
+

gimp_offset_area_new ()

+
GtkWidget *
+gimp_offset_area_new (gint orig_width,
+                      gint orig_height);
+

Creates a new GimpOffsetArea widget. A GimpOffsetArea can be used +when resizing an image or a drawable to allow the user to interactively +specify the new offsets.

+
+

Parameters

+
+++++ + + + + + + + + + + + + +

orig_width

the original width

 

orig_height

the original height

 
+
+
+

Returns

+

the new GimpOffsetArea widget.

+
+
+
+
+

gimp_offset_area_set_size ()

+
void
+gimp_offset_area_set_size (GimpOffsetArea *offset_area,
+                           gint width,
+                           gint height);
+

Sets the size of the image/drawable displayed by the GimpOffsetArea. +If the offsets change as a result of this change, the "offsets-changed" +signal is emitted.

+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + +

offset_area

a GimpOffsetArea.

 

width

the new width

 

height

the new height

 
+
+
+
+
+

gimp_offset_area_set_offsets ()

+
void
+gimp_offset_area_set_offsets (GimpOffsetArea *offset_area,
+                              gint offset_x,
+                              gint offset_y);
+

Sets the offsets of the image/drawable displayed by the GimpOffsetArea. +It does not emit the "offsets-changed" signal.

+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + +

offset_area

a GimpOffsetArea.

 

offset_x

the X offset

 

offset_y

the Y offset

 
+
+
+
+
+

gimp_offset_area_set_pixbuf ()

+
void
+gimp_offset_area_set_pixbuf (GimpOffsetArea *offset_area,
+                             GdkPixbuf *pixbuf);
+

Sets the pixbuf which represents the original image/drawable which +is being offset.

+
+

Parameters

+
+++++ + + + + + + + + + + + + +

offset_area

a GimpOffsetArea.

 

pixbuf

a GdkPixbuf.

 
+
+

Since: 2.2

+
+
+
+

Types and Values

+
+

GimpOffsetArea

+
typedef struct _GimpOffsetArea GimpOffsetArea;
+
+
+
+

Signal Details

+
+

The “offsets-changed” signal

+
void
+user_function (GimpOffsetArea *gimpoffsetarea,
+               gint            arg1,
+               gint            arg2,
+               gpointer        user_data)
+

Flags: Run First

+
+
+
+ + + \ No newline at end of file -- cgit v1.2.3