summaryrefslogtreecommitdiff
path: root/src/hb-ot-var.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2017-01-20 19:57:27 -0800
committerBehdad Esfahbod <behdad@behdad.org>2017-01-20 20:05:45 -0800
commit785982bf830723552270db5649abcb9f9f0b46b1 (patch)
tree45b04622c0bfe75d818bd0c102d40578e937516f /src/hb-ot-var.h
parent422c0c36c80145a2d993f80d5c7d3265e3d8357a (diff)
[var] Flesh out some more
Diffstat (limited to 'src/hb-ot-var.h')
-rw-r--r--src/hb-ot-var.h21
1 files changed, 14 insertions, 7 deletions
diff --git a/src/hb-ot-var.h b/src/hb-ot-var.h
index fd7a5aaf..4023b29f 100644
--- a/src/hb-ot-var.h
+++ b/src/hb-ot-var.h
@@ -62,7 +62,14 @@ hb_ot_var_has_data (hb_face_t *face);
#define HB_OT_VAR_NO_AXIS_INDEX 0xFFFFFFFFu
-#if 0
+HB_EXTERN unsigned int
+hb_ot_var_get_axis_count (hb_face_t *face);
+
+HB_EXTERN unsigned int
+hb_ot_var_get_axes (hb_face_t *face,
+ unsigned int start_offset,
+ unsigned int *axes_count /* IN/OUT */,
+ hb_ot_var_axis_t *axes_array /* OUT */);
HB_EXTERN hb_bool_t
hb_ot_var_find_axis (hb_face_t *face,
@@ -70,13 +77,13 @@ hb_ot_var_find_axis (hb_face_t *face,
unsigned int *axis_index,
hb_ot_var_axis_t *axis_info);
-HB_EXTERN unsigned int
-Xhb_ot_var_get_axes (hb_face_t *face,
- unsigned int start_offset,
- unsigned int *axes_count /* IN/OUT */,
- hb_ot_var_axis_t *axes_array /* OUT */);
-/* TODO Add "find_axis", etc API? Are they needed at all? */
+HB_EXTERN int
+hb_ot_var_normalize_axis_value (hb_face_t *face,
+ unsigned int axis_index,
+ float v);
+
+#if 0
HB_EXTERN unsigned int
Xhb_ot_var_get_named_instances (hb_face_t *face, ... );