| GIMP Application Reference Manual | ||||
|---|---|---|---|---|
TempBuf;
TempBuf* temp_buf_new (gint width,
gint height,
gint bytes,
gint x,
gint y,
const guchar *color);
TempBuf* temp_buf_new_check (gint width,
gint height,
GimpCheckType check_type,
GimpCheckSize check_size);
TempBuf* temp_buf_copy (TempBuf *src,
TempBuf *dest);
TempBuf* temp_buf_resize (TempBuf *buf,
gint bytes,
gint x,
gint y,
gint width,
gint height);
TempBuf* temp_buf_scale (TempBuf *buf,
gint width,
gint height);
TempBuf* temp_buf_copy_area (TempBuf *src,
TempBuf *dest,
gint x,
gint y,
gint width,
gint height,
gint dest_x,
gint dest_y);
void temp_buf_free (TempBuf *buf);
guchar* temp_buf_data (TempBuf *buf);
guchar* temp_buf_data_clear (TempBuf *buf);
gsize temp_buf_get_memsize (TempBuf *buf);
typedef struct {
gint bytes; /* the necessary info */
gint width;
gint height;
gint x, y; /* origin of data source */
guchar *data; /* The data buffer. Do never access this field
directly, use temp_buf_data() instead !! */
} TempBuf;
TempBuf* temp_buf_new (gint width, gint height, gint bytes, gint x, gint y, const guchar *color);
|
|
|
|
|
|
|
|
|
|
|
|
Returns : |
TempBuf* temp_buf_new_check (gint width, gint height, GimpCheckType check_type, GimpCheckSize check_size);
|
|
|
|
|
|
|
|
Returns : |
TempBuf* temp_buf_resize (TempBuf *buf, gint bytes, gint x, gint y, gint width, gint height);
|
|
|
|
|
|
|
|
|
|
|
|
Returns : |
TempBuf* temp_buf_scale (TempBuf *buf, gint width, gint height);
|
|
|
|
|
|
Returns : |
TempBuf* temp_buf_copy_area (TempBuf *src, TempBuf *dest, gint x, gint y, gint width, gint height, gint dest_x, gint dest_y);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns : |