Top |
GtkWidget * | gimp_offset_area_new () |
void | gimp_offset_area_set_size () |
void | gimp_offset_area_set_offsets () |
void | gimp_offset_area_set_pixbuf () |
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GtkWidget ╰── GtkDrawingArea ╰── GimpOffsetArea
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.
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.
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.
void gimp_offset_area_set_pixbuf (GimpOffsetArea *offset_area
,GdkPixbuf *pixbuf
);
Sets the pixbuf which represents the original image/drawable which is being offset.
Since: 2.2
“offsets-changed”
signalvoid user_function (GimpOffsetArea *gimpoffsetarea, int arg1, int arg2, gpointer user_data)
Flags: Run First