MCPcopy Create free account
hub / github.com/VCVRack/Rack / getAbsoluteOffset

Method getAbsoluteOffset

include/widget/Widget.hpp:76–78  ·  view source on GitHub ↗

Returns `v` transformed into world/root/global/absolute coordinates. */

Source from the content-addressed store, hash-verified

74 /** Returns `v` transformed into world/root/global/absolute coordinates.
75 */
76 math::Vec getAbsoluteOffset(math::Vec v) {
77 return getRelativeOffset(v, NULL);
78 }
79 /** Returns the zoom level in the coordinate system of `ancestor`.
80 Only `ZoomWidget` should override this to return value other than 1.
81 */

Callers 3

stepMethod · 0.80
stepMethod · 0.80
stepMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected