protect inspect_iage with HAS_CAIRO==1

This commit is contained in:
stefan schippers 2024-03-15 12:57:42 +01:00
parent bef157aacf
commit 56697dfc43
1 changed files with 2 additions and 0 deletions

View File

@ -3879,6 +3879,7 @@ cairo_status_t png_writer(void *in_closure, const unsigned char *in_data, unsign
}
#endif
#if HAS_CAIRO==1
void inspect_image(cairo_surface_t* surface)
{
unsigned char *data, *ptr;
@ -3901,6 +3902,7 @@ void inspect_image(cairo_surface_t* surface)
dbg(0, "size_x = %d, size_y = %d, stride = %d\n", size_x, size_y, stride);
}
#endif
/* rot and flip for rotated / flipped symbols
* dr: 1 draw image