unsafe fn glyph_bbox(&self, glyphID: u32) -> Option<GlyphBBox> {
        // TODO: xetex_font_info uses u16 (why??????), but glyph IDs should be u32
        self.font
            .get_glyph_bounds(glyphID as GlyphID)
            .map(|mut bbox| {
                if self.extend != 0. {
                    bbox.xMin *= self.extend;
                    bbox.xMax *= self.extend;
                }
                bbox
            })
    }
/// getGlyphBounds (had out param)
getGlyphBounds (had out param)
getGlyphBounds ( had out param )
unsafe fn glyph_bbox(&self, glyphID: u32) -> Option<GlyphBBox> {
        // TODO: xetex_font_info uses u16 (why??????), but glyph IDs should be u32
        self.font
            .get_glyph_bounds(glyphID as GlyphID)
            .map(|mut bbox| {
                if self.extend != 0. {
                    bbox.xMin *= self.extend;
                    bbox.xMax *= self.extend;
                }
                bbox
            })
    }
unsafe fn glyph_bbox ( & self , glyphID : u32 ) -> Option < GlyphBBox > { // TODO: xetex_font_info uses u16 (why??????), but glyph IDs should be u32 self . font . get_glyph_bounds ( glyphID as GlyphID ) . map ( | mut bbox | { if self . extend != 0. { bbox . xMin *= self . extend ; bbox . xMax *= self . extend ; } bbox } ) }
getGlyphBounds (had out param)
getGlyphBounds ( had out param )
&self
glyphID
u32