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

Method addOval

snap_drawing/src/snap_drawing/cpp/Utils/Path.cpp:91–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void Path::addOval(const Rect& bounds, bool clockwise) {
92 getSkValue().addOval(bounds.getSkValue(), getPathDirection(clockwise));
93}
94
95void Path::arcTo(const Rect& oval, Scalar startAngle, Scalar sweepAngle) {
96 getSkValue().addArc(oval.getSkValue(), startAngle, sweepAngle);

Callers 1

clipImageToCircleFunction · 0.80

Calls 2

getPathDirectionFunction · 0.85
getSkValueMethod · 0.80

Tested by

no test coverage detected