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

Method drawText

snap_drawing/src/snap_drawing/cpp/Layers/TextLayer.cpp:113–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 }
112 }
113
114 drawTextVisualEntries(drawingContext, layout.getVisualEntries(), /* predraw */ false);
115}
116
117void TextLayer::onBoundsChanged() {
118 Layer::onBoundsChanged();
119 setNeedsLayout();
120}
121
122void TextLayer::onChildInserted(Layer* childLayer, size_t index) {
123 Layer::onChildInserted(childLayer, index);
124 setNeedsLayout();
125}
126
127void TextLayer::onChildRemoved(Layer* childLayer) {
128 Layer::onChildRemoved(childLayer);
129 setNeedsLayout();

Callers 3

drawMethod · 0.80
drawMethod · 0.80
drawOnTopMethod · 0.80

Calls 5

hasGradientMethod · 0.80
canvasMethod · 0.80
getSkValueMethod · 0.80
valueMethod · 0.65
setColorMethod · 0.45

Tested by

no test coverage detected