Home
last modified time | relevance | path

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

123456

/third_party/harfbuzz/src/
Dhb-font.hh135 hb_position_t em_scale_x (int16_t v) { return em_mult (v, x_mult); } in em_scale_x()
136 hb_position_t em_scale_y (int16_t v) { return em_mult (v, y_mult); } in em_scale_y()
137 hb_position_t em_scalef_x (float v) { return em_scalef (v, x_scale); } in em_scalef_x()
138 hb_position_t em_scalef_y (float v) { return em_scalef (v, y_scale); } in em_scalef_y()
141 hb_position_t em_scale_dir (int16_t v, hb_direction_t direction) in em_scale_dir()
145 hb_position_t parent_scale_x_distance (hb_position_t v) in parent_scale_x_distance()
148 return (hb_position_t) (v * (int64_t) this->x_scale / this->parent->x_scale); in parent_scale_x_distance()
151 hb_position_t parent_scale_y_distance (hb_position_t v) in parent_scale_y_distance()
154 return (hb_position_t) (v * (int64_t) this->y_scale / this->parent->y_scale); in parent_scale_y_distance()
157 hb_position_t parent_scale_x_position (hb_position_t v) in parent_scale_x_position()
[all …]
Dhb-draw.hh54 void move_to (hb_position_t x, hb_position_t y) in move_to()
61 void line_to (hb_position_t x, hb_position_t y) in line_to()
71 quadratic_to (hb_position_t control_x, hb_position_t control_y, in quadratic_to()
72 hb_position_t to_x, hb_position_t to_y) in quadratic_to()
90 cubic_to (hb_position_t control1_x, hb_position_t control1_y, in cubic_to()
91 hb_position_t control2_x, hb_position_t control2_y, in cubic_to()
92 hb_position_t to_x, hb_position_t to_y) in cubic_to()
117 bool equal_to_current (hb_position_t x, hb_position_t y) in equal_to_current()
127 hb_position_t path_start_x;
128 hb_position_t path_start_y;
[all …]
Dhb-font.h114 hb_position_t ascender;
115 hb_position_t descender;
116 hb_position_t line_gap;
118 hb_position_t reserved9;
119 hb_position_t reserved8;
120 hb_position_t reserved7;
121 hb_position_t reserved6;
122 hb_position_t reserved5;
123 hb_position_t reserved4;
124 hb_position_t reserved3;
[all …]
Dhb-draw.h37 typedef void (*hb_draw_move_to_func_t) (hb_position_t to_x, hb_position_t to_y, void *user_data);
38 typedef void (*hb_draw_line_to_func_t) (hb_position_t to_x, hb_position_t to_y, void *user_data);
39 typedef void (*hb_draw_quadratic_to_func_t) (hb_position_t control_x, hb_position_t control_y,
40 hb_position_t to_x, hb_position_t to_y,
42 typedef void (*hb_draw_cubic_to_func_t) (hb_position_t control1_x, hb_position_t control1_y,
43 hb_position_t control2_x, hb_position_t control2_y,
44 hb_position_t to_x, hb_position_t to_y,
Dhb-draw.cc123 _move_to_nil (hb_position_t to_x HB_UNUSED, hb_position_t to_y HB_UNUSED, void *user_data HB_UNUSED… in _move_to_nil()
126 _line_to_nil (hb_position_t to_x HB_UNUSED, hb_position_t to_y HB_UNUSED, void *user_data HB_UNUSED… in _line_to_nil()
129 _quadratic_to_nil (hb_position_t control_x HB_UNUSED, hb_position_t control_y HB_UNUSED, in _quadratic_to_nil()
130 hb_position_t to_x HB_UNUSED, hb_position_t to_y HB_UNUSED, in _quadratic_to_nil()
134 _cubic_to_nil (hb_position_t control1_x HB_UNUSED, hb_position_t control1_y HB_UNUSED, in _cubic_to_nil()
135 hb_position_t control2_x HB_UNUSED, hb_position_t control2_y HB_UNUSED, in _cubic_to_nil()
136 hb_position_t to_x HB_UNUSED, hb_position_t to_y HB_UNUSED, in _cubic_to_nil()
Dhb-ot-math.h218 hb_position_t advance;
250 hb_position_t start_connector_length;
251 hb_position_t end_connector_length;
252 hb_position_t full_advance;
261 HB_EXTERN hb_position_t
265 HB_EXTERN hb_position_t
269 HB_EXTERN hb_position_t
277 HB_EXTERN hb_position_t
281 hb_position_t correction_height);
291 HB_EXTERN hb_position_t
[all …]
Dhb-font.cc196 static hb_position_t
205 static hb_position_t
213 hb_position_t ret; in hb_font_get_glyph_h_advance_default()
220 static hb_position_t
230 static hb_position_t
238 hb_position_t ret; in hb_font_get_glyph_v_advance_default()
253 hb_position_t *first_advance, in hb_font_get_glyph_h_advances_default()
263 first_advance = &StructAtOffsetUnaligned<hb_position_t> (first_advance, advance_stride); in hb_font_get_glyph_h_advances_default()
274 first_advance = &StructAtOffsetUnaligned<hb_position_t> (first_advance, advance_stride); in hb_font_get_glyph_h_advances_default()
285 hb_position_t *first_advance, in hb_font_get_glyph_v_advances_default()
[all …]
Dhb-ot-math-table.hh39 hb_position_t get_x_value (hb_font_t *font, const void *base) const in get_x_value()
41 hb_position_t get_y_value (hb_font_t *font, const void *base) const in get_y_value()
80 hb_position_t get_value (hb_ot_math_constant_t constant, in get_value()
176 hb_position_t get_value (hb_codepoint_t glyph, in get_value()
207 hb_position_t get_value (hb_codepoint_t glyph, in get_value()
249 hb_position_t get_value (hb_position_t correction_height, hb_font_t *font) const in get_value()
268 hb_position_t height = correctionHeight[i + half].get_y_value (font, this); in get_value()
310 hb_position_t get_kerning (hb_ot_math_kern_t kern, in get_kerning()
311 hb_position_t correction_height, in get_kerning()
339 hb_position_t get_kerning (hb_codepoint_t glyph, in get_kerning()
[all …]
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-font.hh132 hb_position_t em_scale_x (int16_t v) { return em_scale (v, x_scale); } in em_scale_x()
133 hb_position_t em_scale_y (int16_t v) { return em_scale (v, y_scale); } in em_scale_y()
134 hb_position_t em_scalef_x (float v) { return em_scalef (v, this->x_scale); } in em_scalef_x()
135 hb_position_t em_scalef_y (float v) { return em_scalef (v, this->y_scale); } in em_scalef_y()
138 hb_position_t em_scale_dir (int16_t v, hb_direction_t direction) in em_scale_dir()
142 hb_position_t parent_scale_x_distance (hb_position_t v) in parent_scale_x_distance()
145 return (hb_position_t) (v * (int64_t) this->x_scale / this->parent->x_scale); in parent_scale_x_distance()
148 hb_position_t parent_scale_y_distance (hb_position_t v) in parent_scale_y_distance()
151 return (hb_position_t) (v * (int64_t) this->y_scale / this->parent->y_scale); in parent_scale_y_distance()
154 hb_position_t parent_scale_x_position (hb_position_t v) in parent_scale_x_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-ot-math.h143 hb_position_t advance;
173 hb_position_t start_connector_length;
174 hb_position_t end_connector_length;
175 hb_position_t full_advance;
184 HB_EXTERN hb_position_t
188 HB_EXTERN hb_position_t
192 HB_EXTERN hb_position_t
200 HB_EXTERN hb_position_t
204 hb_position_t correction_height);
214 HB_EXTERN hb_position_t
[all …]
Dhb-font.cc178 static hb_position_t
186 static hb_position_t
194 hb_position_t ret; in hb_font_get_glyph_h_advance_default()
201 static hb_position_t
210 static hb_position_t
218 hb_position_t ret; in hb_font_get_glyph_v_advance_default()
232 hb_position_t *first_advance, in hb_font_get_glyph_h_advances_default()
242 first_advance = &StructAtOffsetUnaligned<hb_position_t> (first_advance, advance_stride); in hb_font_get_glyph_h_advances_default()
253 first_advance = &StructAtOffsetUnaligned<hb_position_t> (first_advance, advance_stride); in hb_font_get_glyph_h_advances_default()
264 hb_position_t *first_advance, in hb_font_get_glyph_v_advances_default()
[all …]
Dhb-ot-math-table.hh39 hb_position_t get_x_value (hb_font_t *font, const void *base) const in get_x_value()
41 hb_position_t get_y_value (hb_font_t *font, const void *base) const in get_y_value()
80 hb_position_t get_value (hb_ot_math_constant_t constant, in get_value()
176 hb_position_t get_value (hb_codepoint_t glyph, in get_value()
207 hb_position_t get_value (hb_codepoint_t glyph, in get_value()
249 hb_position_t get_value (hb_position_t correction_height, hb_font_t *font) const in get_value()
268 hb_position_t height = correctionHeight[i + half].get_y_value (font, this); in get_value()
309 hb_position_t get_kerning (hb_ot_math_kern_t kern, in get_kerning()
310 hb_position_t correction_height, in get_kerning()
338 hb_position_t get_kerning (hb_codepoint_t glyph, in get_kerning()
[all …]
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-font.hh135 hb_position_t em_scale_x (int16_t v) { return em_mult (v, x_mult); } in em_scale_x()
136 hb_position_t em_scale_y (int16_t v) { return em_mult (v, y_mult); } in em_scale_y()
137 hb_position_t em_scalef_x (float v) { return em_scalef (v, x_scale); } in em_scalef_x()
138 hb_position_t em_scalef_y (float v) { return em_scalef (v, y_scale); } in em_scalef_y()
141 hb_position_t em_scale_dir (int16_t v, hb_direction_t direction) in em_scale_dir()
145 hb_position_t parent_scale_x_distance (hb_position_t v) in parent_scale_x_distance()
148 return (hb_position_t) (v * (int64_t) this->x_scale / this->parent->x_scale); in parent_scale_x_distance()
151 hb_position_t parent_scale_y_distance (hb_position_t v) in parent_scale_y_distance()
154 return (hb_position_t) (v * (int64_t) this->y_scale / this->parent->y_scale); in parent_scale_y_distance()
157 hb_position_t parent_scale_x_position (hb_position_t v) in parent_scale_x_position()
[all …]
Dhb-draw.hh54 void move_to (hb_position_t x, hb_position_t y) in move_to()
61 void line_to (hb_position_t x, hb_position_t y) in line_to()
71 quadratic_to (hb_position_t control_x, hb_position_t control_y, in quadratic_to()
72 hb_position_t to_x, hb_position_t to_y) in quadratic_to()
90 cubic_to (hb_position_t control1_x, hb_position_t control1_y, in cubic_to()
91 hb_position_t control2_x, hb_position_t control2_y, in cubic_to()
92 hb_position_t to_x, hb_position_t to_y) in cubic_to()
117 bool equal_to_current (hb_position_t x, hb_position_t y) in equal_to_current()
127 hb_position_t path_start_x;
128 hb_position_t path_start_y;
[all …]
Dhb-font.h114 hb_position_t ascender;
115 hb_position_t descender;
116 hb_position_t line_gap;
118 hb_position_t reserved9;
119 hb_position_t reserved8;
120 hb_position_t reserved7;
121 hb_position_t reserved6;
122 hb_position_t reserved5;
123 hb_position_t reserved4;
124 hb_position_t reserved3;
[all …]
Dhb-draw.h37 typedef void (*hb_draw_move_to_func_t) (hb_position_t to_x, hb_position_t to_y, void *user_data);
38 typedef void (*hb_draw_line_to_func_t) (hb_position_t to_x, hb_position_t to_y, void *user_data);
39 typedef void (*hb_draw_quadratic_to_func_t) (hb_position_t control_x, hb_position_t control_y,
40 hb_position_t to_x, hb_position_t to_y,
42 typedef void (*hb_draw_cubic_to_func_t) (hb_position_t control1_x, hb_position_t control1_y,
43 hb_position_t control2_x, hb_position_t control2_y,
44 hb_position_t to_x, hb_position_t to_y,
Dhb-draw.cc123 _move_to_nil (hb_position_t to_x HB_UNUSED, hb_position_t to_y HB_UNUSED, void *user_data HB_UNUSED… in _move_to_nil()
126 _line_to_nil (hb_position_t to_x HB_UNUSED, hb_position_t to_y HB_UNUSED, void *user_data HB_UNUSED… in _line_to_nil()
129 _quadratic_to_nil (hb_position_t control_x HB_UNUSED, hb_position_t control_y HB_UNUSED, in _quadratic_to_nil()
130 hb_position_t to_x HB_UNUSED, hb_position_t to_y HB_UNUSED, in _quadratic_to_nil()
134 _cubic_to_nil (hb_position_t control1_x HB_UNUSED, hb_position_t control1_y HB_UNUSED, in _cubic_to_nil()
135 hb_position_t control2_x HB_UNUSED, hb_position_t control2_y HB_UNUSED, in _cubic_to_nil()
136 hb_position_t to_x HB_UNUSED, hb_position_t to_y HB_UNUSED, in _cubic_to_nil()
Dhb-ot-math.h218 hb_position_t advance;
250 hb_position_t start_connector_length;
251 hb_position_t end_connector_length;
252 hb_position_t full_advance;
261 HB_EXTERN hb_position_t
265 HB_EXTERN hb_position_t
269 HB_EXTERN hb_position_t
277 HB_EXTERN hb_position_t
281 hb_position_t correction_height);
291 HB_EXTERN hb_position_t
[all …]
Dhb-font.cc196 static hb_position_t
205 static hb_position_t
213 hb_position_t ret; in hb_font_get_glyph_h_advance_default()
220 static hb_position_t
230 static hb_position_t
238 hb_position_t ret; in hb_font_get_glyph_v_advance_default()
253 hb_position_t *first_advance, in hb_font_get_glyph_h_advances_default()
263 first_advance = &StructAtOffsetUnaligned<hb_position_t> (first_advance, advance_stride); in hb_font_get_glyph_h_advances_default()
274 first_advance = &StructAtOffsetUnaligned<hb_position_t> (first_advance, advance_stride); in hb_font_get_glyph_h_advances_default()
285 hb_position_t *first_advance, in hb_font_get_glyph_v_advances_default()
[all …]
Dhb-ot-math.cc86 hb_position_t
105 hb_position_t
131 hb_position_t
175 hb_position_t
179 hb_position_t correction_height) in hb_ot_math_get_glyph_kerning()
242 hb_position_t
281 hb_position_t *italics_correction /* OUT */) in hb_ot_math_get_glyph_assembly()
/third_party/skia/third_party/externals/harfbuzz/test/fuzzing/
Dhb-draw-fuzzer.cc13 hb_position_t path_start_x;
14 hb_position_t path_start_y;
15 hb_position_t path_last_x;
16 hb_position_t path_last_y;
20 _move_to (hb_position_t to_x, hb_position_t to_y, void *user_data_) in _move_to()
30 _line_to (hb_position_t to_x, hb_position_t to_y, void *user_data_) in _line_to()
41 _quadratic_to (hb_position_t control_x, hb_position_t control_y, in _quadratic_to()
42 hb_position_t to_x, hb_position_t to_y, void *user_data_) in _quadratic_to()
54 _cubic_to (hb_position_t control1_x, hb_position_t control1_y, in _cubic_to()
55 hb_position_t control2_x, hb_position_t control2_y, in _cubic_to()
[all …]
/third_party/harfbuzz/test/fuzzing/
Dhb-draw-fuzzer.cc13 hb_position_t path_start_x;
14 hb_position_t path_start_y;
15 hb_position_t path_last_x;
16 hb_position_t path_last_y;
20 _move_to (hb_position_t to_x, hb_position_t to_y, void *user_data_) in _move_to()
30 _line_to (hb_position_t to_x, hb_position_t to_y, void *user_data_) in _line_to()
41 _quadratic_to (hb_position_t control_x, hb_position_t control_y, in _quadratic_to()
42 hb_position_t to_x, hb_position_t to_y, void *user_data_) in _quadratic_to()
54 _cubic_to (hb_position_t control1_x, hb_position_t control1_y, in _cubic_to()
55 hb_position_t control2_x, hb_position_t control2_y, in _cubic_to()
[all …]
/third_party/harfbuzz/perf/
Dperf-draw.hh15 _hb_move_to (hb_position_t to_x HB_UNUSED, hb_position_t to_y HB_UNUSED, void *user_data HB_UNUSED)… in _hb_move_to()
18 _hb_line_to (hb_position_t to_x HB_UNUSED, hb_position_t to_y HB_UNUSED, void *user_data HB_UNUSED)… in _hb_line_to()
21 _hb_quadratic_to (hb_position_t control_x HB_UNUSED, hb_position_t control_y HB_UNUSED, in _hb_quadratic_to()
22 hb_position_t to_x HB_UNUSED, hb_position_t to_y HB_UNUSED, in _hb_quadratic_to()
26 _hb_cubic_to (hb_position_t control1_x HB_UNUSED, hb_position_t control1_y HB_UNUSED, in _hb_cubic_to()
27 hb_position_t control2_x HB_UNUSED, hb_position_t control2_y HB_UNUSED, in _hb_cubic_to()
28 hb_position_t to_x HB_UNUSED, hb_position_t to_y HB_UNUSED, in _hb_cubic_to()
/third_party/skia/third_party/externals/harfbuzz/perf/
Dperf-draw.hh15 _hb_move_to (hb_position_t to_x HB_UNUSED, hb_position_t to_y HB_UNUSED, void *user_data HB_UNUSED)… in _hb_move_to()
18 _hb_line_to (hb_position_t to_x HB_UNUSED, hb_position_t to_y HB_UNUSED, void *user_data HB_UNUSED)… in _hb_line_to()
21 _hb_quadratic_to (hb_position_t control_x HB_UNUSED, hb_position_t control_y HB_UNUSED, in _hb_quadratic_to()
22 hb_position_t to_x HB_UNUSED, hb_position_t to_y HB_UNUSED, in _hb_quadratic_to()
26 _hb_cubic_to (hb_position_t control1_x HB_UNUSED, hb_position_t control1_y HB_UNUSED, in _hb_cubic_to()
27 hb_position_t control2_x HB_UNUSED, hb_position_t control2_y HB_UNUSED, in _hb_cubic_to()
28 hb_position_t to_x HB_UNUSED, hb_position_t to_y HB_UNUSED, in _hb_cubic_to()

123456