[HB] Add point_index to get_contour_point()
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 29 Oct 2009 07:05:18 +0000 (03:05 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 2 Nov 2009 19:40:48 +0000 (14:40 -0500)
Pointed out by Keith Stribley on HarfBuzz list.

src/hb-font.h

index 9642c55..15dd351 100644 (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);