MCPcopy 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
949float TextBox::get_height() {
950 rebuild();
951 return paragraphs.back().heightOffset + paragraphs.back().p->getHeight();
952}
953
954void TextBox::set_allow_newlines(bool allow) {
955 newlinesAllowed = allow;

Callers 2

layoutMethod · 0.80
clay_drawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected