Details
struct GimpParasite
struct GimpParasite
{
gchar *name; /* The name of the parasite. USE A UNIQUE PREFIX! */
guint32 flags; /* save Parasite in XCF file, etc. */
guint32 size; /* amount of data */
gpointer data; /* a pointer to the data. plugin is *
* responsible for tracking byte order */
}; |
GIMP_PARASITE_PERSISTENT
#define GIMP_PARASITE_PERSISTENT 1 |
GIMP_PARASITE_UNDOABLE
#define GIMP_PARASITE_UNDOABLE 2 |
GIMP_PARASITE_ATTACH_PARENT
#define GIMP_PARASITE_ATTACH_PARENT (0x80 << 8) |
GIMP_PARASITE_PARENT_PERSISTENT
#define GIMP_PARASITE_PARENT_PERSISTENT (GIMP_PARASITE_PERSISTENT << 8) |
GIMP_PARASITE_PARENT_UNDOABLE
#define GIMP_PARASITE_PARENT_UNDOABLE (GIMP_PARASITE_UNDOABLE << 8) |
GIMP_PARASITE_ATTACH_GRANDPARENT
#define GIMP_PARASITE_ATTACH_GRANDPARENT (0x80 << 16) |
GIMP_PARASITE_GRANDPARENT_PERSISTENT
#define GIMP_PARASITE_GRANDPARENT_PERSISTENT (GIMP_PARASITE_PERSISTENT << 16) |
GIMP_PARASITE_GRANDPARENT_UNDOABLE
#define GIMP_PARASITE_GRANDPARENT_UNDOABLE (GIMP_PARASITE_UNDOABLE << 16) |
gimp_parasite_new ()
GimpParasite* gimp_parasite_new (const gchar *name,
guint32 flags,
guint32 size,
const gpointer data); |
gimp_parasite_is_type ()
gboolean gimp_parasite_is_type (const GimpParasite *parasite,
const gchar *name); |
gimp_parasite_is_persistent ()
gboolean gimp_parasite_is_persistent (const GimpParasite *parasite); |
gimp_parasite_is_undoable ()
gboolean gimp_parasite_is_undoable (const GimpParasite *parasite); |
gimp_parasite_has_flag ()
gboolean gimp_parasite_has_flag (const GimpParasite *parasite,
gulong flag); |
gimp_parasite_name ()
const gchar* gimp_parasite_name (const GimpParasite *parasite); |
gimp_parasite_data_size ()
glong gimp_parasite_data_size (const GimpParasite *parasite); |
gimp_parasite_find ()
Finds the named parasite.
Finds and returns the named parasite that was previously attached to
the gimp.
gimp_parasite_attach ()
Add a parasite to the gimp.
This procedure attaches a parasite to the gimp. It has no return
values.
gimp_parasite_detach ()
gboolean gimp_parasite_detach (gchar *name); |
Removes a parasite from the gimp.
This procedure detaches a parasite from the gimp. It has no return
values.
gimp_parasite_list ()
gboolean gimp_parasite_list (gint *num_parasites,
gchar ***parasites); |
List all parasites.
Returns a list of all currently attached parasites.
gimp_drawable_parasite_find ()
GimpParasite* gimp_drawable_parasite_find (gint32 drawable_ID,
gchar *name); |
Finds the named parasite in a drawable
Finds and returns the named parasite that was previously attached to
a drawable.
gimp_drawable_parasite_attach ()
gboolean gimp_drawable_parasite_attach (gint32 drawable_ID,
GimpParasite *parasite); |
Add a parasite to a drawable.
This procedure attaches a parasite to a drawable. It has no return
values.
gimp_drawable_parasite_detach ()
gboolean gimp_drawable_parasite_detach (gint32 drawable_ID,
gchar *name); |
Removes a parasite from a drawable.
This procedure detaches a parasite from a drawable. It has no return
values.
gimp_drawable_parasite_list ()
gboolean gimp_drawable_parasite_list (gint32 drawable_ID,
gint *num_parasites,
gchar ***parasites); |
List all parasites.
Returns a list of all currently attached parasites.
gimp_image_parasite_find ()
GimpParasite* gimp_image_parasite_find (gint32 image_ID,
gchar *name); |
Finds the named parasite in an image
Finds and returns the named parasite that was previously attached to
an image.
gimp_image_parasite_attach ()
gboolean gimp_image_parasite_attach (gint32 image_ID,
GimpParasite *parasite); |
Add a parasite to an image.
This procedure attaches a parasite to an image. It has no return
values.
gimp_image_parasite_detach ()
gboolean gimp_image_parasite_detach (gint32 image_ID,
gchar *name); |
Removes a parasite from an image.
This procedure detaches a parasite from an image. It has no return
values.
gimp_image_parasite_list ()
gboolean gimp_image_parasite_list (gint32 image_ID,
gint *num_parasites,
gchar ***parasites); |
List all parasites.
Returns a list of all currently attached parasites.
gimp_attach_new_parasite ()
void gimp_attach_new_parasite (const gchar *name,
gint flags,
gint size,
const gpointer data); |
gimp_drawable_attach_new_parasite ()
void gimp_drawable_attach_new_parasite
(gint32 drawable_ID,
const gchar *name,
gint flags,
gint size,
const gpointer data); |
gimp_image_attach_new_parasite ()
void gimp_image_attach_new_parasite (gint32 image_ID,
const gchar *name,
gint flags,
gint size,
const gpointer data); |