Lines Matching refs:glyph
46 HB_FONT_FUNC_IMPLEMENT (glyph) \
214 hb_codepoint_t *glyph) in get_glyph()
216 *glyph = 0; in get_glyph()
217 return klass->get.glyph (this, user_data, in get_glyph()
218 unicode, variation_selector, glyph, in get_glyph()
219 klass->user_data.glyph); in get_glyph()
222 inline hb_position_t get_glyph_h_advance (hb_codepoint_t glyph) in get_glyph_h_advance()
225 glyph, in get_glyph_h_advance()
229 inline hb_position_t get_glyph_v_advance (hb_codepoint_t glyph) in get_glyph_v_advance()
232 glyph, in get_glyph_v_advance()
236 inline hb_bool_t get_glyph_h_origin (hb_codepoint_t glyph, in get_glyph_h_origin()
241 glyph, x, y, in get_glyph_h_origin()
245 inline hb_bool_t get_glyph_v_origin (hb_codepoint_t glyph, in get_glyph_v_origin()
250 glyph, x, y, in get_glyph_v_origin()
268 inline hb_bool_t get_glyph_extents (hb_codepoint_t glyph, in get_glyph_extents()
273 glyph, in get_glyph_extents()
278 inline hb_bool_t get_glyph_contour_point (hb_codepoint_t glyph, unsigned int point_index, in get_glyph_contour_point()
283 glyph, point_index, in get_glyph_contour_point()
288 inline hb_bool_t get_glyph_name (hb_codepoint_t glyph, in get_glyph_name()
293 glyph, in get_glyph_name()
299 hb_codepoint_t *glyph) in get_glyph_from_name()
301 *glyph = 0; in get_glyph_from_name()
305 glyph, in get_glyph_from_name()
312 inline void get_glyph_advance_for_direction (hb_codepoint_t glyph, in get_glyph_advance_for_direction()
317 *x = get_glyph_h_advance (glyph); in get_glyph_advance_for_direction()
321 *y = get_glyph_v_advance (glyph); in get_glyph_advance_for_direction()
326 inline void guess_v_origin_minus_h_origin (hb_codepoint_t glyph, in guess_v_origin_minus_h_origin()
329 *x = get_glyph_h_advance (glyph) / 2; in guess_v_origin_minus_h_origin()
335 inline void get_glyph_origin_for_direction (hb_codepoint_t glyph, in get_glyph_origin_for_direction()
340 hb_bool_t ret = get_glyph_h_origin (glyph, x, y); in get_glyph_origin_for_direction()
341 if (!ret && (ret = get_glyph_v_origin (glyph, x, y))) { in get_glyph_origin_for_direction()
343 guess_v_origin_minus_h_origin (glyph, &dx, &dy); in get_glyph_origin_for_direction()
347 hb_bool_t ret = get_glyph_v_origin (glyph, x, y); in get_glyph_origin_for_direction()
348 if (!ret && (ret = get_glyph_h_origin (glyph, x, y))) { in get_glyph_origin_for_direction()
350 guess_v_origin_minus_h_origin (glyph, &dx, &dy); in get_glyph_origin_for_direction()
356 inline void add_glyph_origin_for_direction (hb_codepoint_t glyph, in add_glyph_origin_for_direction()
362 get_glyph_origin_for_direction (glyph, direction, &origin_x, &origin_y); in add_glyph_origin_for_direction()
368 inline void subtract_glyph_origin_for_direction (hb_codepoint_t glyph, in subtract_glyph_origin_for_direction()
374 get_glyph_origin_for_direction (glyph, direction, &origin_x, &origin_y); in subtract_glyph_origin_for_direction()
393 inline hb_bool_t get_glyph_extents_for_origin (hb_codepoint_t glyph, in get_glyph_extents_for_origin()
397 hb_bool_t ret = get_glyph_extents (glyph, extents); in get_glyph_extents_for_origin()
400 … subtract_glyph_origin_for_direction (glyph, direction, &extents->x_bearing, &extents->y_bearing); in get_glyph_extents_for_origin()
405 …inline hb_bool_t get_glyph_contour_point_for_origin (hb_codepoint_t glyph, unsigned int point_inde… in get_glyph_contour_point_for_origin()
409 hb_bool_t ret = get_glyph_contour_point (glyph, point_index, x, y); in get_glyph_contour_point_for_origin()
412 subtract_glyph_origin_for_direction (glyph, direction, x, y); in get_glyph_contour_point_for_origin()
419 glyph_to_string (hb_codepoint_t glyph, in glyph_to_string()
422 if (get_glyph_name (glyph, s, size)) return; in glyph_to_string()
424 snprintf (s, size, "gid%u", glyph); in glyph_to_string()
430 hb_codepoint_t *glyph) in glyph_from_string()
432 if (get_glyph_from_name (s, len, glyph)) return true; in glyph_from_string()
437 if (hb_codepoint_parse (s, len, 10, glyph)) in glyph_from_string()
444 hb_codepoint_parse (s + 3, len - 3, 10, glyph)) in glyph_from_string()
451 get_glyph (unichar, 0, glyph)) in glyph_from_string()