Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
97
bool Matrix::isIdentityOrTranslate() const {
98
return getSkValue().isTranslate();
99
}
100
101
Matrix Matrix::makeScaleTranslate(Scalar sx, Scalar sy, Scalar tx, Scalar ty) {
102
Matrix matrix;
Callers
1
resolveDisplayState
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected