2000-05-31 14:15:06 +08:00
|
|
|
/* LIBGIMP - The GIMP Library
|
2000-06-02 05:18:04 +08:00
|
|
|
* Copyright (C) 1995-2000 Peter Mattis and Spencer Kimball
|
2000-05-31 14:15:06 +08:00
|
|
|
*
|
2000-06-02 05:18:04 +08:00
|
|
|
* gimpgradients_pdb.h
|
2000-05-31 14:15:06 +08:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
2000-06-02 05:18:04 +08:00
|
|
|
*
|
2000-05-31 14:15:06 +08:00
|
|
|
* This library is distributed in the hope that it will be useful,
|
2000-06-02 05:18:04 +08:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
2000-05-31 14:15:06 +08:00
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
2000-06-02 05:18:04 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* NOTE: This file is autogenerated by pdbgen.pl */
|
2000-05-31 14:15:06 +08:00
|
|
|
|
2000-06-02 05:18:04 +08:00
|
|
|
#ifndef __GIMP_GRADIENTS_PDB_H__
|
|
|
|
#define __GIMP_GRADIENTS_PDB_H__
|
2000-05-31 14:15:06 +08:00
|
|
|
|
2001-11-23 07:46:13 +08:00
|
|
|
G_BEGIN_DECLS
|
2000-05-31 14:15:06 +08:00
|
|
|
|
|
|
|
/* For information look into the C source or the html documentation */
|
|
|
|
|
|
|
|
|
2002-02-21 19:16:00 +08:00
|
|
|
gboolean gimp_gradients_refresh (void);
|
2001-10-26 05:59:52 +08:00
|
|
|
gchar** gimp_gradients_get_list (gint *num_gradients);
|
|
|
|
gchar* gimp_gradients_get_active (void);
|
|
|
|
gboolean gimp_gradients_set_active (gchar *name);
|
|
|
|
gdouble* gimp_gradients_sample_uniform (gint num_samples);
|
|
|
|
gdouble* gimp_gradients_sample_custom (gint num_samples,
|
|
|
|
gdouble *positions);
|
|
|
|
gchar* gimp_gradients_get_gradient_data (gchar *name,
|
|
|
|
gint sample_size,
|
|
|
|
gint *width,
|
|
|
|
gdouble **grad_data);
|
2000-05-31 14:15:06 +08:00
|
|
|
|
|
|
|
|
2001-11-23 07:46:13 +08:00
|
|
|
G_END_DECLS
|
2000-05-31 14:15:06 +08:00
|
|
|
|
2000-06-02 05:18:04 +08:00
|
|
|
#endif /* __GIMP_GRADIENTS_PDB_H__ */
|