mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
![]() Introduced the GlyphMetrics struct and the API: Result metrics(GlyphMetrics** metrics, uint32_t* size) This allows retrieving glyph metrics for a given Text object. The font and utf8 content must be set beforehand using the font() and text() apis. Memory for the metrics array is allocated internally by the API. It is the user's responsibility to free it by calling the same API with a valid metrics pointer and a nullptr passed as size. @Issue: https://github.com/thorvg/thorvg/issues/3397 |
||
---|---|---|
.. | ||
meson.build | ||
thorvg.h |