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

Method mapRect

snap_drawing/src/snap_drawing/cpp/Utils/Matrix.cpp:89–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89Rect Matrix::mapRect(const Rect& rect) const {
90 return fromSkValue<Rect>(getSkValue().mapRect(rect.getSkValue()));
91}
92
93bool Matrix::isIdentity() const {
94 return getSkValue().isIdentity();

Callers 3

TESTFunction · 0.80
getAbsoluteRectMethod · 0.80

Calls 1

getSkValueMethod · 0.80

Tested by 1

TESTFunction · 0.64