Searched refs:sk_bounds (Results 1 – 1 of 1) sorted by relevance
187 SkRect sk_bounds; in skhb_glyph_extents() local190 font.getWidths(&skGlyph, 1, nullptr, &sk_bounds); in skhb_glyph_extents()192 sk_bounds.set(sk_bounds.roundOut()); in skhb_glyph_extents()196 extents->x_bearing = skhb_position(sk_bounds.fLeft); in skhb_glyph_extents()197 extents->y_bearing = skhb_position(-sk_bounds.fTop); in skhb_glyph_extents()198 extents->width = skhb_position(sk_bounds.width()); in skhb_glyph_extents()199 extents->height = skhb_position(-sk_bounds.height()); in skhb_glyph_extents()