home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2002 April / pcpro0402.iso / essentials / graphics / Gimp / gimp-src-20001226.exe / src / gimp / plug-ins / gap / gap_mov_exec.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-12-10  |  2.2 KB  |  56 lines

  1. /* gap_lib.h
  2.  * 1997.11.01 hof (Wolfgang Hofer)
  3.  *
  4.  * GAP ... Gimp Animation Plugins
  5.  *
  6.  * basic anim functions
  7.  *
  8.  */
  9. /* The GIMP -- an image manipulation program
  10.  * Copyright (C) 1995 Spencer Kimball and Peter Mattis
  11.  *
  12.  * This program is free software; you can redistribute it and/or modify
  13.  * it under the terms of the GNU General Public License as published by
  14.  * the Free Software Foundation; either version 2 of the License, or
  15.  * (at your option) any later version.
  16.  *
  17.  * This program is distributed in the hope that it will be useful,
  18.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  19.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  20.  * GNU General Public License for more details.
  21.  *
  22.  * You should have received a copy of the GNU General Public License
  23.  * along with this program; if not, write to the Free Software
  24.  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  25.  */
  26.  
  27. /* revision history:
  28.  * gimp    1.1.29b; 2000/11/25  hof: NONINTEACTIV PDB interface for Movepath
  29.  * gimp    1.1.20a; 2000/04/25  hof: support for keyframes, anim_preview
  30.  * 0.96.00; 1998/06/27   hof: added gap animation sizechange plugins
  31.  *                            (moved range_ops to seperate .h file)
  32.  * 0.94.01; 1998/04/27   hof: added flatten_mode to plugin: gap_range_to_multilayer
  33.  * 0.90.00;              hof: 1.st (pre) release
  34.  */
  35.  
  36. #ifndef _GAP_MOV_EXEC_H
  37. #define _GAP_MOV_EXEC_H
  38.  
  39. #include "libgimp/gimp.h"
  40. #include "gap_mov_dialog.h"
  41.  
  42. int     gap_move_path(GimpRunModeType run_mode, gint32 image_id, t_mov_values *pvals, gchar *pointfile, gint rotation_follow, gint32 startangle);
  43. gint32  p_mov_anim_preview(t_mov_values *pvals_orig, t_anim_info *ainfo_ptr, gint preview_frame_nr);
  44.  
  45. gchar  *p_gap_chk_keyframes(t_mov_values *pvals);
  46. gint    p_conv_keyframe_to_rel(gint abs_keyframe, t_mov_values *pvals);
  47. gint    p_conv_keyframe_to_abs(gint rel_keyframe, t_mov_values *pvals);
  48. gint    p_gap_save_pointfile(char *filename, t_mov_values *pvals);
  49. gint    p_gap_load_pointfile(char *filename, t_mov_values *pvals);
  50. void    p_calculate_rotate_follow(t_mov_values *pvals, gint32 startangle);
  51.  
  52.  
  53. #endif
  54.  
  55.  
  56.