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

Method getPath

snap_drawing/src/snap_drawing/cpp/Utils/BorderRadius.cpp:59–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59Path BorderRadius::getPath(const Rect& bounds) const {
60 Path path;
61
62 applyToPath(bounds, path);
63
64 return path;
65}
66
67void BorderRadius::applyToPath(const Rect& bounds, Path& path) const {
68 Scalar radii[8];

Callers 4

loadLibsFromJarPathMethod · 0.45
visitMethod · 0.45
clipRoundMethod · 0.45
onDrawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected