| GIMP Application Reference Manual | ||||
|---|---|---|---|---|
GimpPaintCore;
GimpPaintCoreClass;
void gimp_paint_core_paint (GimpPaintCore *core,
GimpDrawable *drawable,
GimpPaintOptions *paint_options,
GimpPaintState state,
guint32 time);
gboolean gimp_paint_core_start (GimpPaintCore *core,
GimpDrawable *drawable,
GimpPaintOptions *paint_options,
GimpCoords *coords,
GError **error);
void gimp_paint_core_finish (GimpPaintCore *core,
GimpDrawable *drawable);
void gimp_paint_core_cancel (GimpPaintCore *core,
GimpDrawable *drawable);
void gimp_paint_core_cleanup (GimpPaintCore *core);
void gimp_paint_core_interpolate (GimpPaintCore *core,
GimpDrawable *drawable,
GimpPaintOptions *paint_options,
guint32 time);
TempBuf* gimp_paint_core_get_paint_area (GimpPaintCore *core,
GimpDrawable *drawable,
GimpPaintOptions *options);
TempBuf* gimp_paint_core_get_orig_image (GimpPaintCore *core,
GimpDrawable *drawable,
gint x1,
gint y1,
gint x2,
gint y2);
TempBuf* gimp_paint_core_get_orig_proj (GimpPaintCore *core,
GimpPickable *pickable,
gint x1,
gint y1,
gint x2,
gint y2);
void gimp_paint_core_paste (GimpPaintCore *core,
PixelRegion *paint_maskPR,
GimpDrawable *drawable,
gdouble paint_opacity,
gdouble image_opacity,
GimpLayerModeEffects paint_mode,
GimpPaintApplicationMode mode);
void gimp_paint_core_replace (GimpPaintCore *core,
PixelRegion *paint_maskPR,
GimpDrawable *drawable,
gdouble paint_opacity,
gdouble image_opacity,
GimpPaintApplicationMode mode);
void gimp_paint_core_validate_undo_tiles (GimpPaintCore *core,
GimpDrawable *drawable,
gint x,
gint y,
gint w,
gint h);
void gimp_paint_core_validate_canvas_tiles
(GimpPaintCore *core,
gint x,
gint y,
gint w,
gint h);
void gimp_paint_core_validate_saved_proj_tiles
(GimpPaintCore *core,
GimpPickable *pickable,
gint x,
gint y,
gint w,
gint h);
typedef struct {
GimpObjectClass parent_class;
/* virtual functions */
gboolean (* start) (GimpPaintCore *core,
GimpDrawable *drawable,
GimpPaintOptions *paint_options,
GimpCoords *coords,
GError **error);
gboolean (* pre_paint) (GimpPaintCore *core,
GimpDrawable *drawable,
GimpPaintOptions *paint_options,
GimpPaintState paint_state,
guint32 time);
void (* paint) (GimpPaintCore *core,
GimpDrawable *drawable,
GimpPaintOptions *paint_options,
GimpPaintState paint_state,
guint32 time);
void (* post_paint) (GimpPaintCore *core,
GimpDrawable *drawable,
GimpPaintOptions *paint_options,
GimpPaintState paint_state,
guint32 time);
void (* interpolate) (GimpPaintCore *core,
GimpDrawable *drawable,
GimpPaintOptions *paint_options,
guint32 time);
TempBuf * (* get_paint_area) (GimpPaintCore *core,
GimpDrawable *drawable,
GimpPaintOptions *paint_options);
GimpUndo * (* push_undo) (GimpPaintCore *core,
GimpImage *image,
const gchar *undo_desc);
} GimpPaintCoreClass;
void gimp_paint_core_paint (GimpPaintCore *core, GimpDrawable *drawable, GimpPaintOptions *paint_options, GimpPaintState state, guint32 time);
|
|
|
|
|
|
|
|
|
gboolean gimp_paint_core_start (GimpPaintCore *core, GimpDrawable *drawable, GimpPaintOptions *paint_options, GimpCoords *coords, GError **error);
|
|
|
|
|
|
|
|
|
|
Returns : |
void gimp_paint_core_finish (GimpPaintCore *core, GimpDrawable *drawable);
|
|
|
void gimp_paint_core_cancel (GimpPaintCore *core, GimpDrawable *drawable);
|
|
|
void gimp_paint_core_interpolate (GimpPaintCore *core, GimpDrawable *drawable, GimpPaintOptions *paint_options, guint32 time);
|
|
|
|
|
|
|
TempBuf* gimp_paint_core_get_paint_area (GimpPaintCore *core, GimpDrawable *drawable, GimpPaintOptions *options);
|
|
|
|
|
|
Returns : |
TempBuf* gimp_paint_core_get_orig_image (GimpPaintCore *core, GimpDrawable *drawable, gint x1, gint y1, gint x2, gint y2);
|
|
|
|
|
|
|
|
|
|
|
|
Returns : |
TempBuf* gimp_paint_core_get_orig_proj (GimpPaintCore *core, GimpPickable *pickable, gint x1, gint y1, gint x2, gint y2);
|
|
|
|
|
|
|
|
|
|
|
|
Returns : |
void gimp_paint_core_paste (GimpPaintCore *core, PixelRegion *paint_maskPR, GimpDrawable *drawable, gdouble paint_opacity, gdouble image_opacity, GimpLayerModeEffects paint_mode, GimpPaintApplicationMode mode);
|
|
|
|
|
|
|
|
|
|
|
|
|
void gimp_paint_core_replace (GimpPaintCore *core, PixelRegion *paint_maskPR, GimpDrawable *drawable, gdouble paint_opacity, gdouble image_opacity, GimpPaintApplicationMode mode);
|
|
|
|
|
|
|
|
|
|
|
void gimp_paint_core_validate_undo_tiles (GimpPaintCore *core, GimpDrawable *drawable, gint x, gint y, gint w, gint h);
|
|
|
|
|
|
|
|
|
|
|
void gimp_paint_core_validate_canvas_tiles
(GimpPaintCore *core,
gint x,
gint y,
gint w,
gint h);
|
|
|
|
|
|
|
|
|
void gimp_paint_core_validate_saved_proj_tiles
(GimpPaintCore *core,
GimpPickable *pickable,
gint x,
gint y,
gint w,
gint h);
|
|
|
|
|
|
|
|
|
|
|