MCPcopy 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
86void DrawingContext::clipPath(const Path& path) {
87 canvas()->clipPath(path.getSkValue(), true);
88}
89
90void DrawingContext::clipRect(const Rect& rect) {
91 canvas()->clipRect(rect.getSkValue(), true);

Callers 6

clipMethod · 0.80
dispatchDrawMethod · 0.80
clipImageToCircleFunction · 0.80
visitMethod · 0.80
doRasterMethod · 0.80
onDrawMethod · 0.80

Calls 1

getSkValueMethod · 0.80

Tested by

no test coverage detected