Home
last modified time | relevance | path

Searched refs:sk_bounds (Results 1 – 1 of 1) sorted by relevance

/external/skia/modules/skshaper/src/
DSkShaper_harfbuzz.cpp187 SkRect sk_bounds; in skhb_glyph_extents() local
190 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()