Go to the source code of this file.
Functions | |
static void | query (void) |
static void | run (const gchar *name, gint nparams, const GimpParam *param, gint *nreturn_vals, GimpParam **return_vals) |
static gint32 | load_image (IDataSource *ids, const gchar *filename) |
static void | load_frame (Shape *s, uint32 framenum, GimpDrawable *drawable) |
static void | paintFrame (Shape *s, uint32 framenum, void *pixels, uint32 pitch, sint32 x, sint32 y, GimpPixelRgn *clip_window) |
static gint32 | save_image (gchar *filename, gint32 image_ID, gint32 drawable_ID, gint32 orig_image_ID) |
MAIN () static void query(void) | |
Variables | |
GimpPlugInInfo | PLUG_IN_INFO |
Definition at line 268 of file pentshp.cpp.
References frame, Shape::getFrame(), paintFrame(), ShapeFrame::xoff, and ShapeFrame::yoff.
Referenced by load_image().
static gint32 load_image | ( | IDataSource * | ids, | |
const gchar * | filename | |||
) | [static] |
Definition at line 187 of file pentshp.cpp.
References Shape::DetectShapeFormat(), frame, Shape::frameCount(), Shape::getFrame(), IDataSource::getSize(), ShapeFrame::height, height, load_frame(), loadPalette(), pal, read_format, Shape::setPalette(), ShapeFrame::width, width, ShapeFrame::xoff, and ShapeFrame::yoff.
Referenced by run().
MAIN | ( | ) |
Definition at line 64 of file pentshp.cpp.
static void query | ( | void | ) | [static] |
static void run | ( | const gchar * | name, | |
gint | nparams, | |||
const GimpParam * | param, | |||
gint * | nreturn_vals, | |||
GimpParam ** | return_vals | |||
) | [static] |
Definition at line 119 of file pentshp.cpp.
References if(), load_image(), FileSystem::ReadFile(), and save_image().
static gint32 save_image | ( | gchar * | filename, | |
gint32 | image_ID, | |||
gint32 | drawable_ID, | |||
gint32 | orig_image_ID | |||
) | [static] |
GimpPlugInInfo PLUG_IN_INFO |