• Home
  • Raw
  • Download

Lines Matching refs:funcs

46 hb_draw_funcs_set_move_to_func (hb_draw_funcs_t        *funcs,  in hb_draw_funcs_set_move_to_func()  argument
49 if (unlikely (hb_object_is_immutable (funcs))) return; in hb_draw_funcs_set_move_to_func()
50 funcs->move_to = move_to; in hb_draw_funcs_set_move_to_func()
63 hb_draw_funcs_set_line_to_func (hb_draw_funcs_t *funcs, in hb_draw_funcs_set_line_to_func() argument
66 if (unlikely (hb_object_is_immutable (funcs))) return; in hb_draw_funcs_set_line_to_func()
67 funcs->line_to = line_to; in hb_draw_funcs_set_line_to_func()
80 hb_draw_funcs_set_quadratic_to_func (hb_draw_funcs_t *funcs, in hb_draw_funcs_set_quadratic_to_func() argument
83 if (unlikely (hb_object_is_immutable (funcs))) return; in hb_draw_funcs_set_quadratic_to_func()
84 funcs->quadratic_to = quadratic_to; in hb_draw_funcs_set_quadratic_to_func()
85 funcs->is_quadratic_to_set = true; in hb_draw_funcs_set_quadratic_to_func()
98 hb_draw_funcs_set_cubic_to_func (hb_draw_funcs_t *funcs, in hb_draw_funcs_set_cubic_to_func() argument
101 if (unlikely (hb_object_is_immutable (funcs))) return; in hb_draw_funcs_set_cubic_to_func()
102 funcs->cubic_to = cubic_to; in hb_draw_funcs_set_cubic_to_func()
115 hb_draw_funcs_set_close_path_func (hb_draw_funcs_t *funcs, in hb_draw_funcs_set_close_path_func() argument
118 if (unlikely (hb_object_is_immutable (funcs))) return; in hb_draw_funcs_set_close_path_func()
119 funcs->close_path = close_path; in hb_draw_funcs_set_close_path_func()
152 hb_draw_funcs_t *funcs; in hb_draw_funcs_create() local
153 if (unlikely (!(funcs = hb_object_create<hb_draw_funcs_t> ()))) in hb_draw_funcs_create()
156 funcs->move_to = (hb_draw_move_to_func_t) _move_to_nil; in hb_draw_funcs_create()
157 funcs->line_to = (hb_draw_line_to_func_t) _line_to_nil; in hb_draw_funcs_create()
158 funcs->quadratic_to = (hb_draw_quadratic_to_func_t) _quadratic_to_nil; in hb_draw_funcs_create()
159 funcs->is_quadratic_to_set = false; in hb_draw_funcs_create()
160 funcs->cubic_to = (hb_draw_cubic_to_func_t) _cubic_to_nil; in hb_draw_funcs_create()
161 funcs->close_path = (hb_draw_close_path_func_t) _close_path_nil; in hb_draw_funcs_create()
162 return funcs; in hb_draw_funcs_create()
175 hb_draw_funcs_reference (hb_draw_funcs_t *funcs) in hb_draw_funcs_reference() argument
177 return hb_object_reference (funcs); in hb_draw_funcs_reference()
190 hb_draw_funcs_destroy (hb_draw_funcs_t *funcs) in hb_draw_funcs_destroy() argument
192 if (!hb_object_destroy (funcs)) return; in hb_draw_funcs_destroy()
194 free (funcs); in hb_draw_funcs_destroy()
206 hb_draw_funcs_make_immutable (hb_draw_funcs_t *funcs) in hb_draw_funcs_make_immutable() argument
208 if (hb_object_is_immutable (funcs)) in hb_draw_funcs_make_immutable()
211 hb_object_make_immutable (funcs); in hb_draw_funcs_make_immutable()
224 hb_draw_funcs_is_immutable (hb_draw_funcs_t *funcs) in hb_draw_funcs_is_immutable() argument
226 return hb_object_is_immutable (funcs); in hb_draw_funcs_is_immutable()
243 const hb_draw_funcs_t *funcs, in hb_font_draw_glyph() argument
246 if (unlikely (funcs == &Null (hb_draw_funcs_t) || in hb_font_draw_glyph()
250 draw_helper_t draw_helper (funcs, user_data); in hb_font_draw_glyph()