diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-10-29 03:05:18 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-10-29 03:05:18 -0400 |
commit | cdb7383be41b4ace0e6d9f3a05ac3983e8d4eaf0 (patch) | |
tree | 098f1f21e84cc558cf72c825bc20b29200b400b7 | |
parent | 44164ee60f5ef2fc4f7a03846b60d72eb67ecb0e (diff) | |
download | pango-cdb7383be41b4ace0e6d9f3a05ac3983e8d4eaf0.tar.gz |
[HB] Add point_index to get_contour_point()
Pointed out by Keith Stribley on HarfBuzz list.
-rw-r--r-- | pango/opentype/hb-font.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |