Home
last modified time | relevance | path

Searched refs:hb_position_t (Results 1 – 21 of 21) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-font-private.hh119 inline hb_position_t em_scale_x (int16_t v) { return em_scale (v, this->x_scale); } in em_scale_x()
120 inline hb_position_t em_scale_y (int16_t v) { return em_scale (v, this->y_scale); } in em_scale_y()
123 inline hb_position_t parent_scale_x_distance (hb_position_t v) { in parent_scale_x_distance()
125 return (hb_position_t) (v * (int64_t) this->x_scale / this->parent->x_scale); in parent_scale_x_distance()
128 inline hb_position_t parent_scale_y_distance (hb_position_t v) { in parent_scale_y_distance()
130 return (hb_position_t) (v * (int64_t) this->y_scale / this->parent->y_scale); in parent_scale_y_distance()
133 inline hb_position_t parent_scale_x_position (hb_position_t v) { in parent_scale_x_position()
136 inline hb_position_t parent_scale_y_position (hb_position_t v) { in parent_scale_y_position()
140 inline void parent_scale_distance (hb_position_t *x, hb_position_t *y) { in parent_scale_distance()
144 inline void parent_scale_position (hb_position_t *x, hb_position_t *y) { in parent_scale_position()
[all …]
Dhb-font.h86 hb_position_t ascender; /* typographic ascender. */
87 hb_position_t descender; /* typographic descender. */
88 hb_position_t line_gap; /* suggested line spacing gap. */
90 hb_position_t reserved9;
91 hb_position_t reserved8;
92 hb_position_t reserved7;
93 hb_position_t reserved6;
94 hb_position_t reserved5;
95 hb_position_t reserved4;
96 hb_position_t reserved3;
[all …]
Dhb-font.cc138 static hb_position_t
146 static hb_position_t
155 static hb_position_t
163 static hb_position_t
176 hb_position_t *x, in hb_font_get_glyph_h_origin_nil()
177 hb_position_t *y, in hb_font_get_glyph_h_origin_nil()
187 hb_position_t *x, in hb_font_get_glyph_h_origin_parent()
188 hb_position_t *y, in hb_font_get_glyph_h_origin_parent()
201 hb_position_t *x, in hb_font_get_glyph_v_origin_nil()
202 hb_position_t *y, in hb_font_get_glyph_v_origin_nil()
[all …]
Dhb-ot-layout-gdef-table.hh100 …inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t gl… in get_caret_value()
123 …inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t gl… in get_caret_value()
125 hb_position_t x, y; in get_caret_value()
149 …inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t gl… in get_caret_value()
175 …inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t gl… in get_caret_value()
215 hb_position_t *caret_array /* OUT */) const in get_lig_carets()
249 hb_position_t *caret_array /* OUT */) const in get_lig_carets()
369 hb_position_t *caret_array /* OUT */) const in get_lig_carets()
Dhb-ot-shape-complex-arabic.cc492 hb_position_t w_total = 0; // Total to be filled in apply_stch()
493 hb_position_t w_fixed = 0; // Sum of fixed tiles in apply_stch()
494 hb_position_t w_repeating = 0; // Sum of repeating tiles in apply_stch()
503 hb_position_t width = font->get_glyph_h_advance (info[i].codepoint); in apply_stch()
536 hb_position_t w_remaining = w_total - w_fixed; in apply_stch()
541 hb_position_t extra_repeat_overlap = 0; in apply_stch()
542 hb_position_t shortfall = sign * w_remaining - sign * w_repeating * (n_copies + 1); in apply_stch()
546 hb_position_t excess = (n_copies + 1) * sign * w_repeating - sign * w_remaining; in apply_stch()
558 hb_position_t x_offset = 0; in apply_stch()
561 hb_position_t width = font->get_glyph_h_advance (info[k - 1].codepoint); in apply_stch()
Dhb-ot-shape-fallback.cc207 hb_position_t y_gap = font->y_scale / 16; in position_mark()
324 hb_position_t x_offset = 0, y_offset = 0; in position_around_base()
460 hb_position_t x_kern, y_kern; in _hb_ot_shape_fallback_kern()
468 hb_position_t kern1 = x_kern >> 1; in _hb_ot_shape_fallback_kern()
469 hb_position_t kern2 = x_kern - kern1; in _hb_ot_shape_fallback_kern()
477 hb_position_t kern1 = y_kern >> 1; in _hb_ot_shape_fallback_kern()
478 hb_position_t kern2 = y_kern - kern1; in _hb_ot_shape_fallback_kern()
Dhb-buffer.h91 hb_position_t x_advance;
92 hb_position_t y_advance;
93 hb_position_t x_offset;
94 hb_position_t y_offset;
Dhb-ft.cc192 static hb_position_t
210 static hb_position_t
234 hb_position_t *x, in hb_ft_get_glyph_v_origin()
235 hb_position_t *y, in hb_ft_get_glyph_v_origin()
257 static hb_position_t
309 hb_position_t *x, in hb_ft_get_glyph_contour_point()
310 hb_position_t *y, in hb_ft_get_glyph_contour_point()
Dhb-ot-layout-gpos-table.hh235 hb_position_t *x, hb_position_t *y) const in get_anchor()
258 hb_position_t *x, hb_position_t *y) const in get_anchor()
262 hb_position_t cx, cy; in get_anchor()
289 hb_position_t *x, hb_position_t *y) const in get_anchor()
325 hb_position_t *x, hb_position_t *y) const in get_anchor()
429 hb_position_t mark_x, mark_y, base_x, base_y; in apply()
933 hb_position_t entry_x, entry_y, exit_x, exit_y; in apply()
939 hb_position_t d; in apply()
985 hb_position_t x_offset = entry_x - exit_x; in apply()
986 hb_position_t y_offset = entry_y - exit_y; in apply()
Dhb-ot-font.cc364 static hb_position_t
374 static hb_position_t
Dhb-ot-layout.h88 hb_position_t *caret_array /* OUT */);
Dhb-coretext.cc950 hb_position_t x_advance, y_advance, x_offset, y_offset; in _hb_coretext_shape()
953 hb_position_t advance = x_advance + y_advance; in _hb_coretext_shape()
1053 hb_position_t x_offset = (positions[0].x - advances_so_far) * x_mult; in _hb_coretext_shape()
1069 hb_position_t y_offset = (positions[0].y - advances_so_far) * y_mult; in _hb_coretext_shape()
Dhb-common.h76 typedef int32_t hb_position_t; typedef
Dhb-buffer.cc1677 hb_position_t total_x_advance = 0, total_y_advance = 0; in normalize_glyphs_cluster()
1684 hb_position_t x_advance = 0, y_advance = 0; in normalize_glyphs_cluster()
Dhb-ot-layout-common-private.hh1167 inline hb_position_t get_x_delta (hb_font_t *font) const in get_x_delta()
1170 inline hb_position_t get_y_delta (hb_font_t *font) const in get_y_delta()
Dhb-private.hh265 ASSERT_STATIC (sizeof (hb_position_t) == 4);
/external/harfbuzz_ng/test/api/
Dtest-shape.c43 static hb_position_t
70 static hb_position_t
121 const hb_position_t output_x_advances[] = {9, 5, 5, 10}; in test_shape()
122 const hb_position_t output_x_offsets[] = {0, -1, 0, 0}; in test_shape()
169 const hb_position_t output_clusters[] = {0}; in test_shape_clusters()
Dtest-font.c116 hb_position_t x, y; in _test_font_nil_funcs()
205 hb_position_t *x, hb_position_t *y, in contour_point_func1()
225 hb_position_t *x, hb_position_t *y, in contour_point_func2()
238 static hb_position_t
262 hb_position_t x; in test_fontfuncs_subclassing()
263 hb_position_t y; in test_fontfuncs_subclassing()
Dtest-common.c46 g_assert_cmpint (sizeof (hb_position_t), ==, 4); in test_types_int()
/external/harfbuzz_ng/docs/
Dharfbuzz-sections.txt112 hb_position_t
/external/harfbuzz_ng/util/
Dhelper-cairo.cc478 hb_position_t x = 0, y = 0; in helper_cairo_line_from_buffer()