Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ErrorAtLine0/infinipaint
/ get_height
Method
get_height
src/RichText/TextBox.cpp:949–952 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
947
}
948
949
float TextBox::get_height() {
950
rebuild();
951
return paragraphs.back().heightOffset + paragraphs.back().p->getHeight();
952
}
953
954
void TextBox::set_allow_newlines(bool allow) {
955
newlinesAllowed = allow;
Callers
2
layout
Method · 0.80
clay_draw
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected