[HB] Add point_index to get_contour_point()

Pointed out by Keith Stribley on HarfBuzz list.
This commit is contained in:
Behdad Esfahbod 2009-10-29 03:05:18 -04:00
parent aa87d95173
commit 91b1e03e03
1 changed files with 1 additions and 0 deletions

View File

@ -102,6 +102,7 @@ typedef struct _hb_glyph_metrics_t hb_glyph_metrics_t;
typedef hb_codepoint_t (*hb_font_get_glyph_func_t) (hb_font_t *font, hb_face_t *face, const void *user_data,
hb_codepoint_t unicode, hb_codepoint_t variant_selector);
typedef hb_bool_t (*hb_font_get_contour_point_func_t) (hb_font_t *font, hb_face_t *face, const void *user_data,
unsigned int point_index,
hb_codepoint_t glyph, hb_position_t *x, hb_position_t *y);
typedef void (*hb_font_get_glyph_metrics_func_t) (hb_font_t *font, hb_face_t *face, const void *user_data,
hb_codepoint_t glyph, hb_glyph_metrics_t *metrics);