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

Method setImage

snap_drawing/src/snap_drawing/cpp/Layers/ImageLayer.cpp:156–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156void ImageLayer::setImage(const Ref<Image>& image) {
157 if (_image != image) {
158 _image = image;
159 setNeedsDisplay();
160 }
161}
162
163void ImageLayer::setShouldFlip(bool shouldFlip) {
164 if (_shouldFlip != shouldFlip) {

Callers 2

TEST_FFunction · 0.45
runMethod · 0.45

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.36