MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / set_font_data

Method set_font_data

src/RichText/TextBox.cpp:958–963  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

956}
957
958void TextBox::set_font_data(const std::shared_ptr<FontData>& fD) {
959 if(fontData != fD) {
960 fontData = fD;
961 needsRebuild = true;
962 }
963}
964
965void TextBox::rebuild() {
966 if(needsRebuild) {

Callers 3

init_text_boxMethod · 0.80
layoutMethod · 0.80
init_textboxMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected