Home
last modified time | relevance | path

Searched refs:coords_length (Results 1 – 6 of 6) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-ot-var.cc167 unsigned int *coords_length, /* IN/OUT */ in hb_ot_var_named_instance_get_design_coords() argument
170 return face->table.fvar->get_instance_coords (instance_index, coords_length, coords); in hb_ot_var_named_instance_get_design_coords()
184 unsigned int coords_length) in hb_ot_var_normalize_variations() argument
186 for (unsigned int i = 0; i < coords_length; i++) in hb_ot_var_normalize_variations()
194 info.axis_index < coords_length) in hb_ot_var_normalize_variations()
198 face->table.avar->map_coords (coords, coords_length); in hb_ot_var_normalize_variations()
208 unsigned int coords_length, in hb_ot_var_normalize_coords() argument
213 for (unsigned int i = 0; i < coords_length; i++) in hb_ot_var_normalize_coords()
216 face->table.avar->map_coords (normalized_coords, coords_length); in hb_ot_var_normalize_coords()
Dhb-font.cc1848 unsigned int coords_length) in _hb_font_adopt_var_coords_normalized() argument
1853 font->num_coords = coords_length; in _hb_font_adopt_var_coords_normalized()
1875 unsigned int coords_length = hb_ot_var_get_axis_count (font->face); in hb_font_set_variations() local
1877 int *normalized = coords_length ? (int *) calloc (coords_length, sizeof (int)) : nullptr; in hb_font_set_variations()
1878 if (unlikely (coords_length && !normalized)) in hb_font_set_variations()
1883 normalized, coords_length); in hb_font_set_variations()
1884 _hb_font_adopt_var_coords_normalized (font, normalized, coords_length); in hb_font_set_variations()
1895 unsigned int coords_length) in hb_font_set_var_coords_design() argument
1900 int *normalized = coords_length ? (int *) calloc (coords_length, sizeof (int)) : nullptr; in hb_font_set_var_coords_design()
1901 if (unlikely (coords_length && !normalized)) in hb_font_set_var_coords_design()
[all …]
Dhb-ot-var-avar-table.hh130 void map_coords (int *coords, unsigned int coords_length) const in map_coords()
132 unsigned int count = hb_min (coords_length, axisCount); in map_coords()
142 void unmap_coords (int *coords, unsigned int coords_length) const in unmap_coords()
144 unsigned int count = hb_min (coords_length, axisCount); in unmap_coords()
Dhb-ot-var.h122 unsigned int *coords_length, /* IN/OUT */
135 unsigned int coords_length);
139 unsigned int coords_length,
Dhb-ot-var-fvar-table.hh276 unsigned int *coords_length, /* IN/OUT */ in get_instance_coords()
282 if (coords_length) in get_instance_coords()
283 *coords_length = 0; in get_instance_coords()
287 if (coords_length && *coords_length) in get_instance_coords()
290 .sub_array (0, *coords_length); in get_instance_coords()
Dhb-font.h705 unsigned int coords_length);
710 unsigned int coords_length);