Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/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-ft.cc84 static hb_position_t
100 static hb_position_t
122 hb_position_t *x HB_UNUSED, in hb_ft_get_glyph_h_origin()
123 hb_position_t *y HB_UNUSED, in hb_ft_get_glyph_h_origin()
134 hb_position_t *x, in hb_ft_get_glyph_v_origin()
135 hb_position_t *y, in hb_ft_get_glyph_v_origin()
152 static hb_position_t
169 static hb_position_t
205 hb_position_t *x, in hb_ft_get_glyph_contour_point()
206 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-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-shape-fallback.cc205 hb_position_t y_gap = font->y_scale / 16; in position_mark()
320 hb_position_t x_offset = 0, y_offset = 0; in position_around_base()
453 hb_position_t x_kern, y_kern; in _hb_ot_shape_fallback_kern()
461 hb_position_t kern1 = x_kern >> 1; in _hb_ot_shape_fallback_kern()
462 hb_position_t kern2 = x_kern - kern1; in _hb_ot_shape_fallback_kern()
470 hb_position_t kern1 = y_kern >> 1; in _hb_ot_shape_fallback_kern()
471 hb_position_t kern2 = y_kern - kern1; in _hb_ot_shape_fallback_kern()
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()
909 hb_position_t entry_x, entry_y, exit_x, exit_y; in apply()
915 hb_position_t d; in apply()
Dhb-ot-layout.h88 hb_position_t *caret_array /* OUT */);
/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.cc140 static hb_position_t
157 static hb_position_t
171 hb_position_t *x HB_UNUSED, in hb_ot_get_glyph_h_origin()
172 hb_position_t *y HB_UNUSED, in hb_ot_get_glyph_h_origin()
183 hb_position_t *x, in hb_ot_get_glyph_v_origin()
184 hb_position_t *y, in hb_ot_get_glyph_v_origin()
191 static hb_position_t
202 static hb_position_t
228 hb_position_t *x, in hb_ot_get_glyph_contour_point()
229 hb_position_t *y, in hb_ot_get_glyph_contour_point()
Dhb-ft.cc84 static hb_position_t
100 static hb_position_t
122 hb_position_t *x HB_UNUSED, in hb_ft_get_glyph_h_origin()
123 hb_position_t *y HB_UNUSED, in hb_ft_get_glyph_h_origin()
134 hb_position_t *x, in hb_ft_get_glyph_v_origin()
135 hb_position_t *y, in hb_ft_get_glyph_v_origin()
152 static hb_position_t
169 static hb_position_t
205 hb_position_t *x, in hb_ft_get_glyph_contour_point()
206 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-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-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()
455 hb_position_t x_kern, y_kern; in _hb_ot_shape_fallback_kern()
463 hb_position_t kern1 = x_kern >> 1; in _hb_ot_shape_fallback_kern()
464 hb_position_t kern2 = x_kern - kern1; in _hb_ot_shape_fallback_kern()
472 hb_position_t kern1 = y_kern >> 1; in _hb_ot_shape_fallback_kern()
473 hb_position_t kern2 = y_kern - kern1; in _hb_ot_shape_fallback_kern()
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()
909 hb_position_t entry_x, entry_y, exit_x, exit_y; in apply()
915 hb_position_t d; in apply()
Dhb-ot-layout.h88 hb_position_t *caret_array /* OUT */);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
DHarfBuzzFaceSkia.cpp61 static hb_position_t SkiaScalarToHarfBuzzPosition(SkScalar value) in SkiaScalarToHarfBuzzPosition()
66 static void SkiaGetGlyphWidthAndExtents(SkPaint* paint, hb_codepoint_t codepoint, hb_position_t* wi… in SkiaGetGlyphWidthAndExtents()
104 static hb_position_t harfBuzzGetGlyphHorizontalAdvance(hb_font_t* hbFont, void* fontData, hb_codepo… in harfBuzzGetGlyphHorizontalAdvance()
107 hb_position_t advance = 0; in harfBuzzGetGlyphHorizontalAdvance()
113 …gin(hb_font_t* hbFont, void* fontData, hb_codepoint_t glyph, hb_position_t* x, hb_position_t* y, v… in harfBuzzGetGlyphHorizontalOrigin()
120 static hb_position_t harfBuzzGetGlyphHorizontalKerning(hb_font_t*, void* fontData, hb_codepoint_t l… in harfBuzzGetGlyphHorizontalKerning()
142 static hb_position_t harfBuzzGetGlyphVerticalKerning(hb_font_t*, void* fontData, hb_codepoint_t top… in harfBuzzGetGlyphVerticalKerning()
DHarfBuzzFaceCoreText.cpp43 static hb_position_t floatToHarfBuzzPosition(CGFloat value) in floatToHarfBuzzPosition()
45 return static_cast<hb_position_t>(value * (1 << 16)); in floatToHarfBuzzPosition()
61 static hb_position_t getGlyphHorizontalAdvance(hb_font_t* hbFont, void* fontData, hb_codepoint_t gl… in getGlyphHorizontalAdvance()
69 …gin(hb_font_t* hbFont, void* fontData, hb_codepoint_t glyph, hb_position_t* x, hb_position_t* y, v… in getGlyphHorizontalOrigin()
/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/chromium_org/ui/gfx/
Drender_text_harfbuzz.cc46 hb_position_t SkiaScalarToHarfBuzzPosition(SkScalar value) { in SkiaScalarToHarfBuzzPosition()
67 hb_position_t* width, in GetGlyphWidthAndExtents()
111 hb_position_t GetGlyphHorizontalAdvance(hb_font_t* font, in GetGlyphHorizontalAdvance()
116 hb_position_t advance = 0; in GetGlyphHorizontalAdvance()
125 hb_position_t* x, in GetGlyphHorizontalOrigin()
126 hb_position_t* y, in GetGlyphHorizontalOrigin()
132 hb_position_t GetGlyphKerning(FontData* font_data, in GetGlyphKerning()
149 hb_position_t GetGlyphHorizontalKerning(hb_font_t* font, in GetGlyphHorizontalKerning()
163 hb_position_t GetGlyphVerticalKerning(hb_font_t* font, in GetGlyphVerticalKerning()

12