Home
last modified time | relevance | path

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

/external/harfbuzz_ng/src/
Dhb-font-private.hh114 inline hb_position_t em_scale_x (int16_t v) { return em_scale (v, this->x_scale); } in em_scale_x()
115 inline hb_position_t em_scale_y (int16_t v) { return em_scale (v, this->y_scale); } in em_scale_y()
118 inline hb_position_t parent_scale_x_distance (hb_position_t v) { in parent_scale_x_distance()
120 return (hb_position_t) (v * (int64_t) this->x_scale / this->parent->x_scale); in parent_scale_x_distance()
123 inline hb_position_t parent_scale_y_distance (hb_position_t v) { in parent_scale_y_distance()
125 return (hb_position_t) (v * (int64_t) this->y_scale / this->parent->y_scale); in parent_scale_y_distance()
128 inline hb_position_t parent_scale_x_position (hb_position_t v) { in parent_scale_x_position()
131 inline hb_position_t parent_scale_y_position (hb_position_t v) { in parent_scale_y_position()
135 inline void parent_scale_distance (hb_position_t *x, hb_position_t *y) { in parent_scale_distance()
139 inline void parent_scale_position (hb_position_t *x, hb_position_t *y) { in parent_scale_position()
[all …]
Dhb-font.h85 hb_position_t x_bearing;
86 hb_position_t y_bearing;
87 hb_position_t width;
88 hb_position_t height;
100 typedef hb_position_t (*hb_font_get_glyph_advance_func_t) (hb_font_t *font, void *font_data,
108 hb_position_t *x, hb_position_t *y,
113 typedef hb_position_t (*hb_font_get_glyph_kerning_func_t) (hb_font_t *font, void *font_data,
126 hb_position_t *x, hb_position_t *y,
326 hb_position_t
329 hb_position_t
[all …]
Dhb-font.cc62 static hb_position_t
74 static hb_position_t
90 hb_position_t *x, in hb_font_get_glyph_h_origin_nil()
91 hb_position_t *y, in hb_font_get_glyph_h_origin_nil()
109 hb_position_t *x, in hb_font_get_glyph_v_origin_nil()
110 hb_position_t *y, in hb_font_get_glyph_v_origin_nil()
124 static hb_position_t
137 static hb_position_t
175 hb_position_t *x, in hb_font_get_glyph_contour_point_nil()
176 hb_position_t *y, in hb_font_get_glyph_contour_point_nil()
[all …]
Dhb-ot-font.cc205 static hb_position_t
215 static hb_position_t
229 hb_position_t *x HB_UNUSED, in hb_ot_get_glyph_h_origin()
230 hb_position_t *y HB_UNUSED, in hb_ot_get_glyph_h_origin()
241 hb_position_t *x, in hb_ot_get_glyph_v_origin()
242 hb_position_t *y, in hb_ot_get_glyph_v_origin()
249 static hb_position_t
260 static hb_position_t
287 hb_position_t *x, in hb_ot_get_glyph_contour_point()
288 hb_position_t *y, in hb_ot_get_glyph_contour_point()
Dhb-ft.cc89 static hb_position_t
108 static hb_position_t
130 hb_position_t *x HB_UNUSED, in hb_ft_get_glyph_h_origin()
131 hb_position_t *y HB_UNUSED, in hb_ft_get_glyph_h_origin()
142 hb_position_t *x, in hb_ft_get_glyph_v_origin()
143 hb_position_t *y, in hb_ft_get_glyph_v_origin()
160 static hb_position_t
177 static hb_position_t
213 hb_position_t *x, in hb_ft_get_glyph_contour_point()
214 hb_position_t *y, in hb_ft_get_glyph_contour_point()
Dhb-ot-layout-gdef-table.hh99 …inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t gl… in get_caret_value()
121 …inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t gl… in get_caret_value()
123 hb_position_t x, y; in get_caret_value()
146 …inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t gl… in get_caret_value()
171 …inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t gl… in get_caret_value()
210 hb_position_t *caret_array /* OUT */) const in get_lig_carets()
243 hb_position_t *caret_array /* OUT */) const in get_lig_carets()
360 hb_position_t *caret_array /* OUT */) const in get_lig_carets()
Dhb-ot-shape-fallback.cc207 hb_position_t y_gap = font->y_scale / 16; in position_mark()
322 hb_position_t x_offset = 0, y_offset = 0; in position_around_base()
457 hb_position_t x_kern, y_kern; in _hb_ot_shape_fallback_kern()
465 hb_position_t kern1 = x_kern >> 1; in _hb_ot_shape_fallback_kern()
466 hb_position_t kern2 = x_kern - kern1; in _hb_ot_shape_fallback_kern()
474 hb_position_t kern1 = y_kern >> 1; in _hb_ot_shape_fallback_kern()
475 hb_position_t kern2 = y_kern - kern1; in _hb_ot_shape_fallback_kern()
Dhb-buffer.h55 hb_position_t x_advance;
56 hb_position_t y_advance;
57 hb_position_t x_offset;
58 hb_position_t y_offset;
Dhb-ot-layout-gpos-table.hh222 hb_position_t *x, hb_position_t *y) const in get_anchor()
244 hb_position_t *x, hb_position_t *y) const in get_anchor()
248 hb_position_t cx, cy; in get_anchor()
274 hb_position_t *x, hb_position_t *y) const in get_anchor()
309 hb_position_t *x, hb_position_t *y) const in get_anchor()
410 hb_position_t mark_x, mark_y, base_x, base_y; in apply()
920 hb_position_t entry_x, entry_y, exit_x, exit_y; in apply()
926 hb_position_t d; in apply()
Dhb-ot-layout.h88 hb_position_t *caret_array /* OUT */);
Dhb-common.h76 typedef int32_t hb_position_t; typedef
Dhb-ot-layout-common-private.hh1103 inline hb_position_t get_x_delta (hb_font_t *font) const in get_x_delta()
1106 inline hb_position_t get_y_delta (hb_font_t *font) const in get_y_delta()
Dhb-buffer.cc1505 hb_position_t total_x_advance = 0, total_y_advance = 0; in normalize_glyphs_cluster()
1512 hb_position_t x_advance = 0, y_advance = 0; in normalize_glyphs_cluster()
Dhb-coretext.cc876 hb_position_t x_advance, y_advance, x_offset, y_offset; in _hb_coretext_shape()
879 hb_position_t advance = x_advance + y_advance; in _hb_coretext_shape()
Dhb-private.hh223 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()
Dtest-font.c116 hb_position_t x, y; in _test_font_nil_funcs()
204 hb_position_t *x, hb_position_t *y, in contour_point_func1()
224 hb_position_t *x, hb_position_t *y, in contour_point_func2()
237 static hb_position_t
261 hb_position_t x; in test_fontfuncs_subclassing()
262 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/reference/
Dharfbuzz-sections.txt100 hb_position_t
/external/harfbuzz_ng/util/
Dhelper-cairo.cc454 hb_position_t x = 0, y = 0; in helper_cairo_line_from_buffer()