MCPcopy Create free account
hub / github.com/Snapchat/Valdi / clip

Method clip

snap_drawing/test/utils/DisplayListBuilder.cpp:70–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void DisplayListBuilder::clip(Size size) {
71 displayList->appendClipRect(size.width, size.height);
72}
73
74void DisplayListBuilder::clip(const BorderRadius& borderRadius, Size size) {
75 displayList->appendClipRound(borderRadius, size.width, size.height);

Callers 1

TESTFunction · 0.45

Calls 2

appendClipRectMethod · 0.80
appendClipRoundMethod · 0.80

Tested by

no test coverage detected