MCPcopy 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
90void DrawingContext::clipRect(const Rect& rect) {
91 canvas()->clipRect(rect.getSkValue(), true);
92}
93
94void DrawingContext::concat(const Matrix& matrix) {
95 canvas()->concat(matrix.getSkValue());

Callers 5

clipMethod · 0.45
drawMethod · 0.45
doDrawMethod · 0.45
onDrawMethod · 0.45
onDrawMethod · 0.45

Calls 1

getSkValueMethod · 0.80

Tested by

no test coverage detected