Lines Matching refs:param
230 static void moveto (CFF1CSInterpEnv &env, ExtentsParam& param, const Point &pt) in moveto()
232 param.end_path (); in moveto()
236 static void line (CFF1CSInterpEnv &env, ExtentsParam& param, const Point &pt1) in line()
238 if (!param.is_path_open ()) in line()
240 param.start_path (); in line()
241 param.bounds.update (env.get_pt ()); in line()
244 param.bounds.update (env.get_pt ()); in line()
247 …static void curve (CFF1CSInterpEnv &env, ExtentsParam& param, const Point &pt1, const Point &pt2, … in curve()
249 if (!param.is_path_open ()) in curve()
251 param.start_path (); in curve()
252 param.bounds.update (env.get_pt ()); in curve()
255 param.bounds.update (pt1); in curve()
256 param.bounds.update (pt2); in curve()
258 param.bounds.update (env.get_pt ()); in curve()
266 static void process_seac (CFF1CSInterpEnv &env, ExtentsParam& param) in process_seac()
272 hb_codepoint_t base = param.cff->std_code_to_glyph (env.argStack[n-2].to_int ()); in process_seac()
273 hb_codepoint_t accent = param.cff->std_code_to_glyph (env.argStack[n-1].to_int ()); in process_seac()
277 && _get_bounds (param.cff, base, base_bounds, true) in process_seac()
278 && _get_bounds (param.cff, accent, accent_bounds, true))) in process_seac()
280 param.bounds.merge (base_bounds); in process_seac()
282 param.bounds.merge (accent_bounds); in process_seac()
299 ExtentsParam param; in _get_bounds() local
300 param.init (cff); in _get_bounds()
301 if (unlikely (!interp.interpret (param))) return false; in _get_bounds()
302 bounds = param.bounds; in _get_bounds()
355 static void process_seac (CFF1CSInterpEnv &env, GetSeacParam& param) in process_seac()
361 param.base = param.cff->std_code_to_glyph (base_char); in process_seac()
362 param.accent = param.cff->std_code_to_glyph (accent_char); in process_seac()
374 GetSeacParam param; in get_seac_components() local
375 param.init (this); in get_seac_components()
376 if (unlikely (!interp.interpret (param))) return false; in get_seac_components()
378 if (param.has_seac ()) in get_seac_components()
380 *base = param.base; in get_seac_components()
381 *accent = param.accent; in get_seac_components()