Sfoglia il codice sorgente

stb_truetype: Add protoype for stbtt_FindSVGDoc

Fixes issue #979.
Fabian Giesen 4 anni fa
parent
commit
315e979f34
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      stb_truetype.h

+ 1 - 0
stb_truetype.h

@@ -855,6 +855,7 @@ STBTT_DEF int stbtt_GetGlyphShape(const stbtt_fontinfo *info, int glyph_index, s
 STBTT_DEF void stbtt_FreeShape(const stbtt_fontinfo *info, stbtt_vertex *vertices);
 // frees the data allocated above
 
+STBTT_DEF stbtt_uint8 *stbtt_FindSVGDoc(const stbtt_fontinfo *info, int gl)
 STBTT_DEF int stbtt_GetCodepointSVG(const stbtt_fontinfo *info, int unicode_codepoint, const char **svg);
 STBTT_DEF int stbtt_GetGlyphSVG(const stbtt_fontinfo *info, int gl, const char **svg);
 // fills svg with the character's SVG data.