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

Method getAbsoluteZoom

include/widget/Widget.hpp:83–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 */
82 virtual float getRelativeZoom(Widget* ancestor);
83 float getAbsoluteZoom() {
84 return getRelativeZoom(NULL);
85 }
86 /** Returns a subset of the given Rect bounded by the box of this widget and all ancestors.
87 */
88 virtual math::Rect getViewport(math::Rect r = math::Rect::inf());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected