manpagez: man pages & more
html files: libgimp
Home | html | info | man

gimppalette

gimppalette

Description

Functions

gimp_palette_new ()

gchar *
gimp_palette_new (const gchar *name);

Since: GIMP 2.2


gimp_palette_duplicate ()

gchar *
gimp_palette_duplicate (const gchar *name);

Since: GIMP 2.2


gimp_palette_rename ()

gchar *
gimp_palette_rename (const gchar *name,
                     const gchar *new_name);

Since: GIMP 2.2


gimp_palette_delete ()

gboolean
gimp_palette_delete (const gchar *name);

Since: GIMP 2.2


gimp_palette_get_info ()

gboolean
gimp_palette_get_info (const gchar *name,
                       gint *num_colors);

Since: GIMP 2.2


gimp_palette_get_colors ()

GimpRGB *
gimp_palette_get_colors (const gchar *name,
                         gint *num_colors);

Since: GIMP 2.6


gimp_palette_get_columns ()

gint
gimp_palette_get_columns (const gchar *name);

Since: GIMP 2.4


gimp_palette_set_columns ()

gboolean
gimp_palette_set_columns (const gchar *name,
                          gint columns);

Since: GIMP 2.4


gimp_palette_add_entry ()

gboolean
gimp_palette_add_entry (const gchar *name,
                        const gchar *entry_name,
                        const GimpRGB *color,
                        gint *entry_num);

Since: GIMP 2.2


gimp_palette_delete_entry ()

gboolean
gimp_palette_delete_entry (const gchar *name,
                           gint entry_num);

Since: GIMP 2.2


gimp_palette_entry_get_color ()

gboolean
gimp_palette_entry_get_color (const gchar *name,
                              gint entry_num,
                              GimpRGB *color);

Since: GIMP 2.2


gimp_palette_entry_set_color ()

gboolean
gimp_palette_entry_set_color (const gchar *name,
                              gint entry_num,
                              const GimpRGB *color);

Since: GIMP 2.2


gimp_palette_entry_get_name ()

gboolean
gimp_palette_entry_get_name (const gchar *name,
                             gint entry_num,
                             gchar **entry_name);

Since: GIMP 2.2


gimp_palette_entry_set_name ()

gboolean
gimp_palette_entry_set_name (const gchar *name,
                             gint entry_num,
                             const gchar *entry_name);

Since: GIMP 2.2


gimp_palette_get_foreground ()

gboolean
gimp_palette_get_foreground (GimpRGB *foreground);

gimp_palette_get_foreground is deprecated and should not be used in newly-written code.


gimp_palette_get_background ()

gboolean
gimp_palette_get_background (GimpRGB *background);

gimp_palette_get_background is deprecated and should not be used in newly-written code.


gimp_palette_set_foreground ()

gboolean
gimp_palette_set_foreground (const GimpRGB *foreground);

gimp_palette_set_foreground is deprecated and should not be used in newly-written code.


gimp_palette_set_background ()

gboolean
gimp_palette_set_background (const GimpRGB *background);

gimp_palette_set_background is deprecated and should not be used in newly-written code.


gimp_palette_set_default_colors ()

gboolean
gimp_palette_set_default_colors (void);

gimp_palette_set_default_colors is deprecated and should not be used in newly-written code.


gimp_palette_swap_colors ()

gboolean
gimp_palette_swap_colors (void);

gimp_palette_swap_colors is deprecated and should not be used in newly-written code.


gimp_palette_is_editable ()

gboolean
gimp_palette_is_editable (const gchar *name);

Since: GIMP 2.4

Types and Values

© manpagez.com 2000-2025
Individual documents may contain additional copyright information.