1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
|
/* gap_filter.h
*
* GAP ... Gimp Animation Plugins
*
* This Module contains:
* Headers for gap_filter_*.c (animated filter apply to all imagelayers)
*
*/
/* 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.
*/
#ifndef _GAP_FILTER_H
#define _GAP_FILTER_H
#include "libgimp/gimp.h"
#include "gap_filter_pdb.h"
/* GIMP-GAP Suffix strings to identify iterator procedures.
* The iterator procedures have same name as the corresponding plug in
* extended by GAP_ITERATOR_SUFFIX or GAP_ITERATOR_SUFFIX
*
* Note: GIMP-2.4 changed naming style for pdb names from
* underscore to minus character.
* The GIMP-2.4 core uses
* canonicalized names that converts all characters that are no letter and no digit
* to minus character.
*
*/
#define GAP_ITERATOR_SUFFIX "-Iterator"
#define GAP_ITERATOR_ALT_SUFFIX "-Iterator-ALT"
/* GIMP-GAP suffixes for start and end value buffers
* (stored via gimp_set_data)
* those buffers are named like the corresponding plug in
* extended by suffixes GAP_ITER_FROM_SUFFIX and GAP_ITER_TO_SUFFIX.
*
*/
#define GAP_ITER_FROM_SUFFIX "-ITER-FROM"
#define GAP_ITER_TO_SUFFIX "-ITER-TO"
/* ------------------------
* gap_filter_foreach.h
* ------------------------
*/
gint gap_proc_anim_apply(GimpRunMode run_mode, gint32 image_id, char *l_plugin_name
, GapFiltPdbApplyMode apply_mode);
/* ------------------------
* gap_filter_iterators.h
* ------------------------
*/
/* Hacked Iterators for some existing Plugins */
gint gap_run_iterators_ALT(const char *name, GimpRunMode run_mode, gint32 total_steps, gdouble current_step, gint32 len_struct);
void gap_query_iterators_ALT();
/* ------------------------
* gap_filter_codegen.h
* ------------------------
*/
void gap_codegen_remove_codegen_files();
gint gap_codegen_gen_code_iter_ALT (char *proc_name);
gint gap_codegen_gen_forward_iter_ALT(char *proc_name);
gint gap_codegen_gen_tab_iter_ALT (char *proc_name);
gint gap_codegen_gen_code_iterator (char *proc_name);
#endif
|