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

Method setScaleY

snap_drawing/src/snap_drawing/cpp/Layers/Layer.cpp:991–998  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

989}
990
991void Layer::setScaleY(Scalar scaleY) {
992 if (_scaleY != scaleY) {
993 _scaleY = scaleY;
994 _hasScale = (_scaleX != 1) || (_scaleY != 1);
995 setChildNeedsDisplay();
996 setVisualFrameDirty();
997 }
998}
999
1000Scalar Layer::getRotation() const {
1001 return _rotation;

Callers 1

updateMatrixMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected