From cdb7383be41b4ace0e6d9f3a05ac3983e8d4eaf0 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 29 Oct 2009 03:05:18 -0400 Subject: [HB] Add point_index to get_contour_point() Pointed out by Keith Stribley on HarfBuzz list. --- pango/opentype/hb-font.h | 1 + 1 file changed, 1 insertion(+) diff --git a/pango/opentype/hb-font.h b/pango/opentype/hb-font.h index 9642c55a..15dd351b 100644 --- a/pango/opentype/hb-font.h +++ b/pango/opentype/hb-font.h @@ -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); -- cgit v1.2.1