Files
gimp/plug-ins/gap/gap_mov_exec.h
Sven Neumann 774caf0ee6 app/plug-in/Makefile.am new files. Started to split plug-in.c into smaller
2001-12-19  Sven Neumann  <sven@gimp.org>

	* app/plug-in/Makefile.am
	* app/plug-in-proc/plug-in-proc.[ch]: new files. Started to split
	plug-in.c into smaller pieces.

	* app/plug-in/plug-in-types.h: namespacified GimpRunModeType enum and
	renamed it to GimpRunMode.

	* app/plug-in/plug-in.[ch]
	* app/gimphelp.c
	* app/file/file-open.[ch]
	* app/file/file-save.[ch]
	* app/file/file-utils.c
	* app/gui/file-commands.c
	* app/gui/file-open-dialog.c
	* app/gui/file-save-dialog.c
	* app/gui/paths-dialog.c
	* app/xcf/xcf.c
	* tools/pdbgen/pdb/fileops.pdb: changed accordingly.

	* app/pdb/fileops_cmds.c
	* libgimp/gimpenums.h
	* plug-ins/script-fu/script-fu-constants.c
	* libgimp/gimpfileops_pdb.[ch]
	* tools/pdbgen/enums.pl: regenerated.

	* libgimp/Makefile.am
	* libgimp/gimpcompat.h: added gimpcompat.h mostly as a place to
	document plug-in API changes.

	* plug-ins/*: changed all occurences of GimpRunModeType to GimpRunMode.
2001-12-19 00:13:16 +00:00

56 lines
2.1 KiB
C

/* gap_lib.h
* 1997.11.01 hof (Wolfgang Hofer)
*
* GAP ... Gimp Animation Plugins
*
* basic anim functions
*
*/
/* The GIMP -- an image manipulation program
* Copyright (C) 1995 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.
*/
/* revision history:
* gimp 1.1.29b; 2000/11/25 hof: NONINTEACTIV PDB interface for Movepath
* gimp 1.1.20a; 2000/04/25 hof: support for keyframes, anim_preview
* 0.96.00; 1998/06/27 hof: added gap animation sizechange plugins
* (moved range_ops to seperate .h file)
* 0.94.01; 1998/04/27 hof: added flatten_mode to plugin: gap_range_to_multilayer
* 0.90.00; hof: 1.st (pre) release
*/
#ifndef _GAP_MOV_EXEC_H
#define _GAP_MOV_EXEC_H
#include "libgimp/gimp.h"
#include "gap_mov_dialog.h"
int gap_move_path(GimpRunMode run_mode, gint32 image_id, t_mov_values *pvals, gchar *pointfile, gint rotation_follow, gint32 startangle);
gint32 p_mov_anim_preview(t_mov_values *pvals_orig, t_anim_info *ainfo_ptr, gint preview_frame_nr);
gchar *p_gap_chk_keyframes(t_mov_values *pvals);
gint p_conv_keyframe_to_rel(gint abs_keyframe, t_mov_values *pvals);
gint p_conv_keyframe_to_abs(gint rel_keyframe, t_mov_values *pvals);
gint p_gap_save_pointfile(char *filename, t_mov_values *pvals);
gint p_gap_load_pointfile(char *filename, t_mov_values *pvals);
void p_calculate_rotate_follow(t_mov_values *pvals, gint32 startangle);
#endif