| 131 | } |
| 132 | |
| 133 | FontResult FontGetGlyph(HFont font, uint32_t codepoint, FontGlyphOptions* options, FontGlyph* glyph) |
| 134 | { |
| 135 | uint32_t index = font->m_GetGlyphIndex(font, codepoint); |
| 136 | if (!index) |
| 137 | { |
| 138 | return FONT_RESULT_ERROR; |
| 139 | } |
| 140 | FontResult r = font->m_GetGlyph(font, index, options, glyph); |
| 141 | glyph->m_Codepoint = codepoint; |
| 142 | return r; |
| 143 | } |
| 144 | |
| 145 | FontResult FontGetGlyphByIndex(HFont font, uint32_t glyph_index, FontGlyphOptions* options, FontGlyph* glyph) |
| 146 | { |
no outgoing calls
no test coverage detected