MCPcopy Create free account
hub / github.com/Snapchat/Valdi / setTextFont

Method setTextFont

snap_drawing/src/snap_drawing/cpp/Layers/TextLayer.cpp:285–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285void TextLayer::setAttributedText(const Valdi::Ref<AttributedText>& attributedText) {
286 if (_attributedText != attributedText) {
287 _attributedText = attributedText;
288 _text = Valdi::StringBox();
289
290 setNeedsTextLayout();
291 }
292}
293
294const Valdi::Ref<AttributedText>& TextLayer::getAttributedText() const {

Callers 1

TextLayerClass.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected