Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ clipRect
Method
clipRect
snap_drawing/src/snap_drawing/cpp/Drawing/DrawingContext.cpp:90–92 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
88
}
89
90
void DrawingContext::clipRect(const Rect& rect) {
91
canvas()->clipRect(rect.getSkValue(), true);
92
}
93
94
void DrawingContext::concat(const Matrix& matrix) {
95
canvas()->concat(matrix.getSkValue());
Callers
5
clip
Method · 0.45
draw
Method · 0.45
doDraw
Method · 0.45
onDraw
Method · 0.45
onDraw
Method · 0.45
Calls
1
getSkValue
Method · 0.80
Tested by
no test coverage detected