Gimp/app/pdb/internal_procs.c
Michael Natterer d0ab9a7470 app/core/gimp-transform-utils.[ch]. switch from x1,y1,x2,y2 bounding boxes
2004-10-27  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp-transform-utils.[ch]. switch from x1,y1,x2,y2
	bounding boxes to x,y,width,height ones. Added
	gimp_transform_matrix_flip_free(). Renamed some parameters to be
	consistent with others. Some internal cleanup.

	* app/tools/gimpperspectivetool.c
	* app/tools/gimpscaletool.c
	* app/tools/gimpsheartool.c
	* tools/pdbgen/pdb/drawable_transform.pdb
	* tools/pdbgen/pdb/transform_tools.pdb: changed accordingly.

	* tools/pdbgen/pdb/drawable_transform.pdb
	* tools/pdbgen/pdb/transform_tools.pdb: guard all transform
	wrappers with if(gimp_drawable_mask_intersect(...)), also the
	ones which don't need the returned bounding box.

	* tools/pdbgen/pdb/drawable_transform.pdb: renamed some parameters
	and added gimp_drawable_transform_matrix() which takes the 9
	coefficients of a 3x3 matrix for ultimate flexibility ;)

	* app/pdb/drawable_transform_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/transform_tools_cmds.c
	* libgimp/gimpdrawabletransform_pdb.[ch]: regenerated.
2004-10-27 17:56:02 +00:00

215 lines
7.3 KiB
C

/* The GIMP -- an image manipulation program
* Copyright (C) 1995-2003 Spencer Kimball and Peter Mattis
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* NOTE: This file is autogenerated by pdbgen.pl. */
#include "config.h"
#include <glib-object.h>
#include "pdb-types.h"
#include "core/gimp.h"
#include "gimp-intl.h"
/* Forward declarations for registering PDB procs */
void register_brush_procs (Gimp *gimp);
void register_brush_select_procs (Gimp *gimp);
void register_brushes_procs (Gimp *gimp);
void register_channel_procs (Gimp *gimp);
void register_color_procs (Gimp *gimp);
void register_context_procs (Gimp *gimp);
void register_convert_procs (Gimp *gimp);
void register_display_procs (Gimp *gimp);
void register_drawable_procs (Gimp *gimp);
void register_drawable_transform_procs (Gimp *gimp);
void register_edit_procs (Gimp *gimp);
void register_fileops_procs (Gimp *gimp);
void register_floating_sel_procs (Gimp *gimp);
void register_font_select_procs (Gimp *gimp);
void register_fonts_procs (Gimp *gimp);
void register_gimprc_procs (Gimp *gimp);
void register_gradient_procs (Gimp *gimp);
void register_gradient_select_procs (Gimp *gimp);
void register_gradients_procs (Gimp *gimp);
void register_guides_procs (Gimp *gimp);
void register_help_procs (Gimp *gimp);
void register_image_procs (Gimp *gimp);
void register_layer_procs (Gimp *gimp);
void register_message_procs (Gimp *gimp);
void register_misc_procs (Gimp *gimp);
void register_paint_tools_procs (Gimp *gimp);
void register_palette_procs (Gimp *gimp);
void register_palette_select_procs (Gimp *gimp);
void register_palettes_procs (Gimp *gimp);
void register_parasite_procs (Gimp *gimp);
void register_paths_procs (Gimp *gimp);
void register_pattern_procs (Gimp *gimp);
void register_pattern_select_procs (Gimp *gimp);
void register_patterns_procs (Gimp *gimp);
void register_plug_in_procs (Gimp *gimp);
void register_procedural_db_procs (Gimp *gimp);
void register_progress_procs (Gimp *gimp);
void register_selection_procs (Gimp *gimp);
void register_selection_tools_procs (Gimp *gimp);
void register_text_tool_procs (Gimp *gimp);
void register_transform_tools_procs (Gimp *gimp);
void register_undo_procs (Gimp *gimp);
void register_unit_procs (Gimp *gimp);
/* 421 procedures registered total */
void
internal_procs_init (Gimp *gimp,
GimpInitStatusFunc status_callback)
{
g_return_if_fail (GIMP_IS_GIMP (gimp));
g_return_if_fail (status_callback != NULL);
(* status_callback) (_("Internal Procedures"), _("Brush"), 0.0);
register_brush_procs (gimp);
(* status_callback) (NULL, _("Brush UI"), 0.019);
register_brush_select_procs (gimp);
(* status_callback) (NULL, _("Brushes"), 0.026);
register_brushes_procs (gimp);
(* status_callback) (NULL, _("Channel"), 0.04);
register_channel_procs (gimp);
(* status_callback) (NULL, _("Color"), 0.062);
register_color_procs (gimp);
(* status_callback) (NULL, _("Context"), 0.095);
register_context_procs (gimp);
(* status_callback) (NULL, _("Convert"), 0.147);
register_convert_procs (gimp);
(* status_callback) (NULL, _("Display procedures"), 0.154);
register_display_procs (gimp);
(* status_callback) (NULL, _("Drawable procedures"), 0.164);
register_drawable_procs (gimp);
(* status_callback) (NULL, _("Transformation procedures"), 0.242);
register_drawable_transform_procs (gimp);
(* status_callback) (NULL, _("Edit procedures"), 0.261);
register_edit_procs (gimp);
(* status_callback) (NULL, _("File Operations"), 0.28);
register_fileops_procs (gimp);
(* status_callback) (NULL, _("Floating selections"), 0.302);
register_floating_sel_procs (gimp);
(* status_callback) (NULL, _("Font UI"), 0.316);
register_font_select_procs (gimp);
(* status_callback) (NULL, _("Fonts"), 0.323);
register_fonts_procs (gimp);
(* status_callback) (NULL, _("Gimprc procedures"), 0.328);
register_gimprc_procs (gimp);
(* status_callback) (NULL, _("Gradient"), 0.342);
register_gradient_procs (gimp);
(* status_callback) (NULL, _("Gradient UI"), 0.411);
register_gradient_select_procs (gimp);
(* status_callback) (NULL, _("Gradients"), 0.418);
register_gradients_procs (gimp);
(* status_callback) (NULL, _("Guide procedures"), 0.43);
register_guides_procs (gimp);
(* status_callback) (NULL, _("Help procedures"), 0.444);
register_help_procs (gimp);
(* status_callback) (NULL, _("Image"), 0.447);
register_image_procs (gimp);
(* status_callback) (NULL, _("Layer"), 0.594);
register_layer_procs (gimp);
(* status_callback) (NULL, _("Message procedures"), 0.656);
register_message_procs (gimp);
(* status_callback) (NULL, _("Miscellaneous"), 0.663);
register_misc_procs (gimp);
(* status_callback) (NULL, _("Paint Tool procedures"), 0.667);
register_paint_tools_procs (gimp);
(* status_callback) (NULL, _("Palette"), 0.703);
register_palette_procs (gimp);
(* status_callback) (NULL, _("Palette UI"), 0.729);
register_palette_select_procs (gimp);
(* status_callback) (NULL, _("Palettes"), 0.736);
register_palettes_procs (gimp);
(* status_callback) (NULL, _("Parasite procedures"), 0.746);
register_parasite_procs (gimp);
(* status_callback) (NULL, _("Paths"), 0.774);
register_paths_procs (gimp);
(* status_callback) (NULL, _("Pattern"), 0.81);
register_pattern_procs (gimp);
(* status_callback) (NULL, _("Pattern UI"), 0.815);
register_pattern_select_procs (gimp);
(* status_callback) (NULL, _("Patterns"), 0.822);
register_patterns_procs (gimp);
(* status_callback) (NULL, _("Plug-in"), 0.831);
register_plug_in_procs (gimp);
(* status_callback) (NULL, _("Procedural database"), 0.843);
register_procedural_db_procs (gimp);
(* status_callback) (NULL, _("Progress"), 0.865);
register_progress_procs (gimp);
(* status_callback) (NULL, _("Image mask"), 0.876);
register_selection_procs (gimp);
(* status_callback) (NULL, _("Selection Tool procedures"), 0.919);
register_selection_tools_procs (gimp);
(* status_callback) (NULL, _("Text procedures"), 0.931);
register_text_tool_procs (gimp);
(* status_callback) (NULL, _("Transform Tool procedures"), 0.941);
register_transform_tools_procs (gimp);
(* status_callback) (NULL, _("Undo"), 0.955);
register_undo_procs (gimp);
(* status_callback) (NULL, _("Units"), 0.971);
register_unit_procs (gimp);
}