Home
last modified time | relevance | path

Searched refs:axis_count (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-var-gvar-table.hh84 unsigned get_size (unsigned axis_count) const in get_size()
85 { return min_size + get_all_tuples (axis_count).get_size (); } in get_size()
89 const TupleVariationHeader &get_next (unsigned axis_count) const in get_next()
90 { return StructAtOffset<TupleVariationHeader> (this, get_size (axis_count)); } in get_next()
159 hb_array_t<const F2DOT14> get_all_tuples (unsigned axis_count) const in get_all_tuples()
160 …edArrayOf<F2DOT14>> (tupleIndex).as_array ((has_peak () + has_intermediate () * 2) * axis_count); } in get_all_tuples()
161 hb_array_t<const F2DOT14> get_peak_tuple (unsigned axis_count) const in get_peak_tuple()
162 { return get_all_tuples (axis_count).sub_array (0, axis_count); } in get_peak_tuple()
163 hb_array_t<const F2DOT14> get_start_tuple (unsigned axis_count) const in get_start_tuple()
164 { return get_all_tuples (axis_count).sub_array (has_peak () * axis_count, axis_count); } in get_start_tuple()
[all …]
Dhb-ot-var-fvar-table.hh47 hb_array_t<const HBFixed> get_coordinates (unsigned int axis_count) const in get_coordinates()
48 { return coordinatesZ.as_array (axis_count); } in get_coordinates()
50 bool sanitize (hb_sanitize_context_t *c, unsigned int axis_count) const in sanitize()
54 c->check_array (coordinatesZ.arrayZ, axis_count)); in sanitize()
/third_party/glfw/tests/
Djoysticks.c58 int axis_count, button_count; in draw_joystick() local
64 axes = glfwGetJoystickAxes(joysticks[index], &axis_count); in draw_joystick()
65 if (axis_count) in draw_joystick()
67 const int axis_width = width / axis_count; in draw_joystick()
69 for (i = 0; i < axis_count; i++) in draw_joystick()
131 int axis_count, button_count; in joystick_callback() local
133 glfwGetJoystickAxes(joy, &axis_count); in joystick_callback()
139 axis_count, in joystick_callback()
/third_party/skia/modules/skshaper/src/
DSkShaper_harfbuzz.cpp317 int axis_count = typeface.getVariationDesignPosition(nullptr, 0); in create_typeface_hb_font() local
318 if (axis_count > 0) { in create_typeface_hb_font()
319 SkAutoSTMalloc<4, SkFontArguments::VariationPosition::Coordinate> axis_values(axis_count); in create_typeface_hb_font()
320 if (typeface.getVariationDesignPosition(axis_values, axis_count) == axis_count) { in create_typeface_hb_font()
323 axis_count); in create_typeface_hb_font()
/third_party/skia/third_party/externals/freetype/src/type1/
Dt1load.c247 FT_UInt axis_count ) in mm_weights_unmap() argument
249 FT_ASSERT( axis_count <= T1_MAX_MM_AXIS ); in mm_weights_unmap()
251 if ( axis_count == 1 ) in mm_weights_unmap()
254 else if ( axis_count == 2 ) in mm_weights_unmap()
260 else if ( axis_count == 3 ) in mm_weights_unmap()