[paint] Use tags for image formats
This fits better with the rest of the
HarfBuzz API.
diff --git a/src/hb-paint.hh b/src/hb-paint.hh
index e700dd3..9e7927a 100644
--- a/src/hb-paint.hh
+++ b/src/hb-paint.hh
@@ -97,10 +97,10 @@
!user_data ? nullptr : user_data->color); }
void image (void *paint_data,
hb_blob_t *image,
- const char *mimetype,
+ hb_tag_t format,
hb_glyph_extents_t *extents)
{ func.image (this, paint_data,
- image, mimetype, extents,
+ image, format, extents,
!user_data ? nullptr : user_data->image); }
void linear_gradient (void *paint_data,
hb_color_line_t *color_line,