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

Method getTop

include/math.hpp:353–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351 return (size.x == INFINITY) ? INFINITY : (pos.x + size.x);
352 }
353 float getTop() const {
354 return pos.y;
355 }
356 float getBottom() const {
357 return (size.y == INFINITY) ? INFINITY : (pos.y + size.y);
358 }

Callers 4

setModulePosForceMethod · 0.80
squeezeModulePosMethod · 0.80
unsqueezeModulePosMethod · 0.80
onHoverKeyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected