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

Method toString

snap_drawing/src/snap_drawing/cpp/Utils/BorderRadius.cpp:99–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99std::string BorderRadius::toString() const {
100 return fmt::format("[{}, {}, {}, {}]",
101 borderToString(_topLeft, _topLeftIsPercent),
102 borderToString(_topRight, _topRightIsPercent),
103 borderToString(_bottomRight, _bottomRightIsPercent),
104 borderToString(_bottomLeft, _bottomLeftIsPercent));
105}
106
107std::ostream& operator<<(std::ostream& os, const BorderRadius& borderRadius) {
108 return os << borderRadius.toString();

Callers

nothing calls this directly

Calls 1

borderToStringFunction · 0.85

Tested by

no test coverage detected