38
38
GimpItem parent_instance;
40
40
TileManager *tiles; /* tiles for drawable data */
41
TileManager *shadow; /* shadow buffer tiles */
42
43
gint bytes; /* bytes per pixel */
43
44
GimpImageType type; /* type of drawable */
53
54
GimpItemClass parent_class;
56
void (* update) (GimpDrawable *drawable,
61
void (* alpha_changed) (GimpDrawable *drawable);
57
void (* update) (GimpDrawable *drawable,
62
void (* alpha_changed) (GimpDrawable *drawable);
63
64
/* virtual functions */
64
gint64 (* estimate_memsize) (const GimpDrawable *drawable,
67
void (* invalidate_boundary) (GimpDrawable *drawable);
68
void (* get_active_components) (const GimpDrawable *drawable,
70
void (* apply_region) (GimpDrawable *drawable,
73
const gchar *undo_desc,
75
GimpLayerModeEffects mode,
76
TileManager *src1_tiles,
79
void (* replace_region) (GimpDrawable *drawable,
82
const gchar *undo_desc,
87
void (* set_tiles) (GimpDrawable *drawable,
89
const gchar *undo_desc,
65
gint64 (* estimate_memsize) (const GimpDrawable *drawable,
68
void (* invalidate_boundary) (GimpDrawable *drawable);
69
void (* get_active_components) (const GimpDrawable *drawable,
71
void (* apply_region) (GimpDrawable *drawable,
74
const gchar *undo_desc,
76
GimpLayerModeEffects mode,
77
TileManager *src1_tiles,
80
void (* replace_region) (GimpDrawable *drawable,
83
const gchar *undo_desc,
88
TileManager * (* get_tiles) (GimpDrawable *drawable);
89
void (* set_tiles) (GimpDrawable *drawable,
91
const gchar *undo_desc,
95
void (* push_undo) (GimpDrawable *drawable,
96
const gchar *undo_desc,
103
void (* swap_pixels) (GimpDrawable *drawable,
97
void (* push_undo) (GimpDrawable *drawable,
98
const gchar *undo_desc,
105
void (* swap_pixels) (GimpDrawable *drawable,
184
186
TileManager *tiles,
185
187
gboolean sparse);
187
TileManager * gimp_drawable_get_shadow_tiles (GimpDrawable *drawable);
188
void gimp_drawable_merge_shadow (GimpDrawable *drawable,
190
const gchar *undo_desc);
192
189
void gimp_drawable_fill (GimpDrawable *drawable,
193
190
const GimpRGB *color,
194
191
const GimpPattern *pattern);