| 1019 | } |
| 1020 | |
| 1021 | void NanoVG::textBox(float x, float y, float breakRowWidth, const char* string, const char* end) |
| 1022 | { |
| 1023 | if (fContext == nullptr) return; |
| 1024 | DISTRHO_SAFE_ASSERT_RETURN(string != nullptr && string[0] != '\0',); |
| 1025 | |
| 1026 | nvgTextBox(fContext, x, y, breakRowWidth, string, end); |
| 1027 | } |
| 1028 | |
| 1029 | float NanoVG::textBounds(float x, float y, const char* string, const char* end, Rectangle<float>& bounds) |
| 1030 | { |