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

Method isIdentityOrTranslate

snap_drawing/src/snap_drawing/cpp/Utils/Matrix.cpp:97–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97bool Matrix::isIdentityOrTranslate() const {
98 return getSkValue().isTranslate();
99}
100
101Matrix Matrix::makeScaleTranslate(Scalar sx, Scalar sy, Scalar tx, Scalar ty) {
102 Matrix matrix;

Callers 1

resolveDisplayStateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected