Home | History | Annotate | Download | only in src

Lines Matching full:extents

170 			   hb_glyph_extents_t *extents) const
191 return true; /* Empty glyph; zero extents. */
195 extents->x_bearing = MIN (glyph_header.xMin, glyph_header.xMax);
196 extents->y_bearing = MAX (glyph_header.yMin, glyph_header.yMax);
197 extents->width = MAX (glyph_header.xMin, glyph_header.xMax) - extents->x_bearing;
198 extents->height = MIN (glyph_header.yMin, glyph_header.yMax) - extents->y_bearing;
388 hb_glyph_extents_t *extents,
392 bool ret = ot_font->glyf.get_extents (glyph, extents);
393 extents->x_bearing = font->em_scale_x (extents->x_bearing);
394 extents->y_bearing = font->em_scale_y (extents->y_bearing);
395 extents->width = font->em_scale_x (extents->width);
396 extents->height = font->em_scale_y (extents->height);