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

Method setClipsToBounds

snap_drawing/src/snap_drawing/cpp/Layers/Layer.cpp:558–563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

556}
557
558void Layer::setClipsToBounds(bool clipToBounds) {
559 if (_clipsToBounds != clipToBounds) {
560 _clipsToBounds = clipToBounds;
561 setNeedsDisplay();
562 }
563}
564
565bool Layer::clipsToBounds() const {
566 return _clipsToBounds;

Callers 3

apply_slowClippingMethod · 0.80
reset_slowClippingMethod · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64