From 92e6e53b30ecf013cf3bfcd43e6c149acc47edf3 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 3 Feb 2022 00:23:13 -0600 Subject: [PATCH] [draw] Rename user_data to draw_data --- src/hb-draw-glyph.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hb-draw-glyph.cc b/src/hb-draw-glyph.cc index 1ff7293fb..b42181ba8 100644 --- a/src/hb-draw-glyph.cc +++ b/src/hb-draw-glyph.cc @@ -35,7 +35,7 @@ * @font: a font object * @glyph: a glyph id * @funcs: draw callbacks object - * @user_data: parameter you like be passed to the callbacks when are called + * @draw_data: parameter you like be passed to the callbacks when are called * * Draw a glyph. * @@ -46,13 +46,13 @@ void hb_font_draw_glyph (hb_font_t *font, hb_codepoint_t glyph, hb_draw_funcs_t *funcs, - void *user_data) + void *draw_data) { if (unlikely (funcs == &Null (hb_draw_funcs_t) || glyph >= font->face->get_num_glyphs ())) return; - draw_helper_t draw_helper (funcs, user_data); + draw_helper_t draw_helper (funcs, draw_data); if (font->face->table.glyf->get_path (font, glyph, draw_helper)) return; #ifndef HB_NO_CFF if (font->face->table.cff1->get_path (font, glyph, draw_helper)) return;