Searched refs:sk_bounds (Results 1 – 1 of 1) sorted by relevance
202 SkRect sk_bounds; in skhb_glyph_extents() local205 font.getWidths(&glyph, 1, nullptr, &sk_bounds); in skhb_glyph_extents()207 sk_bounds.set(sk_bounds.roundOut()); in skhb_glyph_extents()211 extents->x_bearing = skhb_position(sk_bounds.fLeft); in skhb_glyph_extents()212 extents->y_bearing = skhb_position(-sk_bounds.fTop); in skhb_glyph_extents()213 extents->width = skhb_position(sk_bounds.width()); in skhb_glyph_extents()214 extents->height = skhb_position(-sk_bounds.height()); in skhb_glyph_extents()