Gets a rectangle that defines the minimum and maximum x-coordinate and y-coordinate values in the user coordinate system where the glyphs that correspond to the specified character are rendered.
HRESULT getExtentOfChar( long charnum, ISVGRect **ppResult );
- [in] The index of the character, where the first character has an index of 0.
- [out, retval] A pointer to a rectangle that encloses all of the rendered glyphs.
Returns S_OK if successful, or an error value otherwise.
The calculations for the rectangle assume that all glyphs occupy the full standard glyph cell for the font. If multiple consecutive characters are rendered inseparably (for example, as a single glyph or a sequence of glyphs), each of the inseparable characters returns the same rectangle.