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

Method postScale

snap_drawing/src/snap_drawing/cpp/Utils/Matrix.cpp:85–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void Matrix::postScale(Scalar sx, Scalar sy) {
86 getSkValue().postScale(sx, sy);
87}
88
89Rect Matrix::mapRect(const Rect& rect) const {
90 return fromSkValue<Rect>(getSkValue().mapRect(rect.getSkValue()));

Callers 6

hitTestTransformedMethod · 0.80
hitTestTransformedMethod · 0.80
adjustedCoordinatesMethod · 0.80
updateShaderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected