Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ setTranslateX
Method
setTranslateX
snap_drawing/src/snap_drawing/cpp/Utils/Matrix.cpp:21–23 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
19
}
20
21
void Matrix::setTranslateX(Scalar translateX) {
22
getSkValue().setTranslateX(translateX);
23
}
24
25
Scalar Matrix::getTranslateY() const {
26
return getSkValue().getTranslateY();
Callers
6
drawLayerInCanvas
Function · 0.80
context
Method · 0.80
TEST
Function · 0.80
TEST
Function · 0.80
visit
Method · 0.80
updateMatrix
Method · 0.80
Calls
no outgoing calls
Tested by
3
context
Method · 0.64
TEST
Function · 0.64
TEST
Function · 0.64