MCPcopy Create free account
hub / github.com/cinder/Cinder / draw

Method draw

test/_audio/AudioTests/src/NodeBasicTest.cpp:223–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221}
222
223void NodeBasicTest::draw()
224{
225 if( mMonitor && mMonitor->getNumConnectedInputs() ) {
226 vec2 padding( 20, 20 );
227
228 Rectf scopeRect( padding.x, padding.y, app::getWindowWidth() - padding.x, app::getWindowHeight() - padding.y );
229 drawAudioBuffer( mMonitor->getBuffer(), scopeRect, true );
230 }
231}
232
233// -----------------------------------------------------------------------
234// UI

Callers

nothing calls this directly

Calls 5

getWindowWidthFunction · 0.85
getWindowHeightFunction · 0.85
drawAudioBufferFunction · 0.85
getNumConnectedInputsMethod · 0.80
getBufferMethod · 0.80

Tested by

no test coverage detected