Lines Matching refs:bounds
215 bounds.init (); in init()
223 Bounds bounds; member
241 param.bounds.update (env.get_pt ()); in line()
244 param.bounds.update (env.get_pt ()); in line()
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()
262 static bool _get_bounds (const OT::cff1::accelerator_t *cff, hb_codepoint_t glyph, Bounds &bounds, …
280 param.bounds.merge (base_bounds); in process_seac()
282 param.bounds.merge (accent_bounds); in process_seac()
289 bool _get_bounds (const OT::cff1::accelerator_t *cff, hb_codepoint_t glyph, Bounds &bounds, bool in… in _get_bounds() argument
291 bounds.init (); in _get_bounds()
302 bounds = param.bounds; in _get_bounds()
308 Bounds bounds; in get_extents() local
310 if (!_get_bounds (this, glyph, bounds)) in get_extents()
313 if (bounds.min.x >= bounds.max.x) in get_extents()
320 extents->x_bearing = (int32_t)bounds.min.x.floor (); in get_extents()
321 extents->width = (int32_t)bounds.max.x.ceil () - extents->x_bearing; in get_extents()
323 if (bounds.min.y >= bounds.max.y) in get_extents()
330 extents->y_bearing = (int32_t)bounds.max.y.ceil (); in get_extents()
331 extents->height = (int32_t)bounds.min.y.floor () - extents->y_bearing; in get_extents()