Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ mapRect
Method
mapRect
snap_drawing/src/snap_drawing/cpp/Utils/Matrix.cpp:89–91 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
87
}
88
89
Rect Matrix::mapRect(const Rect& rect) const {
90
return fromSkValue<Rect>(getSkValue().mapRect(rect.getSkValue()));
91
}
92
93
bool Matrix::isIdentity() const {
94
return getSkValue().isIdentity();
Callers
3
updateMatrixWithContentTransform
Method · 0.80
TEST
Function · 0.80
getAbsoluteRect
Method · 0.80
Calls
1
getSkValue
Method · 0.80
Tested by
1
TEST
Function · 0.64