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

Method zeroPos

include/math.hpp:419–421  ·  view source on GitHub ↗

Returns a Rect with its position set to zero. */

Source from the content-addressed store, hash-verified

417 }
418 /** Returns a Rect with its position set to zero. */
419 Rect zeroPos() const {
420 return Rect(Vec(), size);
421 }
422 /** Expands each corner. */
423 Rect grow(Vec delta) const {
424 Rect r;

Callers 15

stepMethod · 0.80
renderMethod · 0.80
drawFramebufferMethod · 0.80
drawMethod · 0.80
stepMethod · 0.80
getInputPosMethod · 0.80
getOutputPosMethod · 0.80
drawMethod · 0.80
drawLayerMethod · 0.80
stepMethod · 0.80
stepMethod · 0.80
stepMethod · 0.80

Calls 2

RectClass · 0.85
VecClass · 0.85

Tested by

no test coverage detected