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

Method addRect

snap_drawing/src/snap_drawing/cpp/Utils/Path.cpp:87–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void Path::addRect(const Rect& bounds, bool clockwise) {
88 getSkValue().addRect(bounds.getSkValue(), getPathDirection(clockwise));
89}
90
91void Path::addOval(const Rect& bounds, bool clockwise) {
92 getSkValue().addOval(bounds.getSkValue(), getPathDirection(clockwise));

Callers 5

getPathMethod · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
clipRectMethod · 0.80

Calls 2

getPathDirectionFunction · 0.85
getSkValueMethod · 0.80

Tested by 2

TESTFunction · 0.64
TESTFunction · 0.64