Searched defs:extents (Results 1 - 1 of 1) sorted by relevance
/frameworks/base/core/jni/android/graphics/ |
H A D | HarfBuzzNGFaceSkia.cpp | 57 static void SkiaGetGlyphWidthAndExtents(SkPaint* paint, hb_codepoint_t codepoint, hb_position_t* width, hb_glyph_extents_t* extents) argument 72 if (extents) { 74 extents->x_bearing = SkScalarToHBFixed(skBounds.fLeft); 75 extents->y_bearing = SkScalarToHBFixed(-skBounds.fTop); 76 extents->width = SkScalarToHBFixed(skBounds.width()); 77 extents->height = SkScalarToHBFixed(-skBounds.height()); 114 static hb_bool_t harfbuzzGetGlyphExtents(hb_font_t* hbFont, void* fontData, hb_codepoint_t glyph, hb_glyph_extents_t* extents, void* userData) argument 118 SkiaGetGlyphWidthAndExtents(hbFontData->m_paint, glyph, 0, extents);
|
Completed in 282 milliseconds