| 243 | } |
| 244 | |
| 245 | void TextCanvasTexture::AddTextMultiline(const char* str, int length, const CanvasTextStyle& style, uint32_t char_limit) { |
| 246 | TextMetrics metrics; |
| 247 | RenderText(str, length, style, metrics, TMF_DRAW | TMF_AUTO_NEWLINE, char_limit); |
| 248 | } |
| 249 | |
| 250 | void TextCanvasTexture::GetTextMetricsInfo(const char* str, int length, const CanvasTextStyle& style, TextMetrics& metrics, uint32_t char_limit) { |
| 251 | RenderText(str, length, style, metrics, TMF_METRICS, char_limit); |
no outgoing calls
no test coverage detected