MCPcopy Create free account
hub / github.com/DISTRHO/DPF / textBox

Method textBox

dgl/src/NanoVG.cpp:1021–1027  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1019}
1020
1021void 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
1029float NanoVG::textBounds(float x, float y, const char* string, const char* end, Rectangle<float>& bounds)
1030{

Callers 1

onDisplayMethod · 0.80

Calls 1

nvgTextBoxFunction · 0.85

Tested by

no test coverage detected