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

Method offset

snap_drawing/src/snap_drawing/cpp/Utils/Geometry.hpp:194–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192 }
193
194 constexpr void offset(Scalar dx, Scalar dy) {
195 offsetX(dx);
196 offsetY(dy);
197 }
198
199 constexpr Rect withInsets(Scalar horizontalInsets, Scalar verticalInsets) const {
200 return Rect::makeLTRB(

Callers 1

onDrawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected