Function mupdf_sys::fz_bound_glyph
source · pub unsafe extern "C" fn fz_bound_glyph(
ctx: *mut fz_context,
font: *mut fz_font,
gid: c_int,
trm: fz_matrix
) -> fz_rect
Expand description
Return a bbox for a given glyph in a font.
font: The font to look for the glyph in.
gid: The glyph to bound.
trm: The matrix to apply to the glyph before bounding.
Returns rectangle by value containing the bounds of the given glyph.