Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ clipPath
Method
clipPath
snap_drawing/src/snap_drawing/cpp/Drawing/DrawingContext.cpp:86–88 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
84
}
85
86
void DrawingContext::clipPath(const Path& path) {
87
canvas()->clipPath(path.getSkValue(), true);
88
}
89
90
void DrawingContext::clipRect(const Rect& rect) {
91
canvas()->clipRect(rect.getSkValue(), true);
Callers
6
clip
Method · 0.80
dispatchDraw
Method · 0.80
clipImageToCircle
Function · 0.80
visit
Method · 0.80
doRaster
Method · 0.80
onDraw
Method · 0.80
Calls
1
getSkValue
Method · 0.80
Tested by
no test coverage detected