[Insert name here] Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up |
#define GCC_UNUSED gint floorm (gint a, gint b); gint ceilm (gint a, gint b); void copy_rect (guchar *dest_buf, gint dest_x, gint dest_y, gint dest_width, gint dest_height, guchar *src_buf, gint src_x, gint src_y, gint src_width, gint src_height, gint bpp); gint tile_width (void); gint tile_height (void); |
void copy_rect (guchar *dest_buf, gint dest_x, gint dest_y, gint dest_width, gint dest_height, guchar *src_buf, gint src_x, gint src_y, gint src_width, gint src_height, gint bpp); |
gint tile_width (void); |
This function converts the guint that is returned by gimp_tile_width into a gint. This helps prevent all kind of signed/unsigned problems in the code.