2004-09-22 23:26:58 +08:00
|
|
|
/* LIBGIMP - The GIMP Library
|
|
|
|
* Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
|
|
|
|
*
|
|
|
|
* gimpcontext_pdb.h
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
* This library 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
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2007-01-09 18:52:47 +08:00
|
|
|
/* NOTE: This file is auto-generated by pdbgen.pl */
|
2004-09-22 23:26:58 +08:00
|
|
|
|
|
|
|
#ifndef __GIMP_CONTEXT_PDB_H__
|
|
|
|
#define __GIMP_CONTEXT_PDB_H__
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
/* For information look into the C source or the html documentation */
|
|
|
|
|
|
|
|
|
2004-09-23 03:22:24 +08:00
|
|
|
gboolean gimp_context_push (void);
|
|
|
|
gboolean gimp_context_pop (void);
|
2006-01-03 01:21:42 +08:00
|
|
|
gchar* gimp_context_get_paint_method (void);
|
2007-09-11 21:18:41 +08:00
|
|
|
gboolean gimp_context_set_paint_method (const gchar *name);
|
|
|
|
gboolean gimp_context_list_paint_methods (gint *num_paint_methods,
|
|
|
|
gchar ***paint_methods);
|
|
|
|
gboolean gimp_context_get_foreground (GimpRGB *foreground);
|
|
|
|
gboolean gimp_context_set_foreground (const GimpRGB *foreground);
|
|
|
|
gboolean gimp_context_get_background (GimpRGB *background);
|
|
|
|
gboolean gimp_context_set_background (const GimpRGB *background);
|
2004-09-23 03:22:24 +08:00
|
|
|
gboolean gimp_context_set_default_colors (void);
|
|
|
|
gboolean gimp_context_swap_colors (void);
|
|
|
|
gdouble gimp_context_get_opacity (void);
|
2007-09-11 21:18:41 +08:00
|
|
|
gboolean gimp_context_set_opacity (gdouble opacity);
|
2004-09-23 03:22:24 +08:00
|
|
|
GimpLayerModeEffects gimp_context_get_paint_mode (void);
|
2007-09-11 21:18:41 +08:00
|
|
|
gboolean gimp_context_set_paint_mode (GimpLayerModeEffects paint_mode);
|
2004-09-23 07:00:51 +08:00
|
|
|
gchar* gimp_context_get_brush (void);
|
2007-09-11 21:18:41 +08:00
|
|
|
gboolean gimp_context_set_brush (const gchar *name);
|
2004-09-23 07:00:51 +08:00
|
|
|
gchar* gimp_context_get_pattern (void);
|
2007-09-11 21:18:41 +08:00
|
|
|
gboolean gimp_context_set_pattern (const gchar *name);
|
2004-09-23 07:00:51 +08:00
|
|
|
gchar* gimp_context_get_gradient (void);
|
2007-09-11 21:18:41 +08:00
|
|
|
gboolean gimp_context_set_gradient (const gchar *name);
|
2004-09-23 07:00:51 +08:00
|
|
|
gchar* gimp_context_get_palette (void);
|
2007-09-11 21:18:41 +08:00
|
|
|
gboolean gimp_context_set_palette (const gchar *name);
|
2004-09-23 07:00:51 +08:00
|
|
|
gchar* gimp_context_get_font (void);
|
2007-09-11 21:18:41 +08:00
|
|
|
gboolean gimp_context_set_font (const gchar *name);
|
2004-09-22 23:26:58 +08:00
|
|
|
|
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __GIMP_CONTEXT_PDB_H__ */
|