Searched refs:sk_bounds (Results 1 – 2 of 2) sorted by relevance
206 SkRect sk_bounds; in skhb_glyph_extents() local209 font.getWidths(&glyph, 1, nullptr, &sk_bounds); in skhb_glyph_extents()211 sk_bounds.set(sk_bounds.roundOut()); in skhb_glyph_extents()215 extents->x_bearing = skhb_position(sk_bounds.fLeft); in skhb_glyph_extents()216 extents->y_bearing = skhb_position(-sk_bounds.fTop); in skhb_glyph_extents()217 extents->width = skhb_position(sk_bounds.width()); in skhb_glyph_extents()218 extents->height = skhb_position(-sk_bounds.height()); in skhb_glyph_extents()
185 SkRect sk_bounds; in skhb_glyph_extents() local188 font.getWidths(&skGlyph, 1, nullptr, &sk_bounds); in skhb_glyph_extents()190 sk_bounds.set(sk_bounds.roundOut()); in skhb_glyph_extents()194 extents->x_bearing = skhb_position(sk_bounds.fLeft); in skhb_glyph_extents()195 extents->y_bearing = skhb_position(-sk_bounds.fTop); in skhb_glyph_extents()196 extents->width = skhb_position(sk_bounds.width()); in skhb_glyph_extents()197 extents->height = skhb_position(-sk_bounds.height()); in skhb_glyph_extents()