MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / Draw

Method Draw

Source/ClipLauncher.cpp:289–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287}
288
289void ClipLauncher::SampleData::Draw()
290{
291 ofPushMatrix();
292 ofTranslate(5, mClipLauncher->GetRowY(mIndex));
293 DrawAudioBuffer(100, 36, mSample->Data(), 0, mSample->LengthInSamples(), mPlay ? mSample->GetPlayPosition() : -1);
294 ofPopMatrix();
295 mGrabCheckbox->Draw();
296 mPlayCheckbox->Draw();
297}

Callers 1

DrawModuleMethod · 0.45

Calls 8

ofPushMatrixFunction · 0.85
ofTranslateFunction · 0.85
DrawAudioBufferFunction · 0.85
ofPopMatrixFunction · 0.85
DataMethod · 0.80
LengthInSamplesMethod · 0.80
GetPlayPositionMethod · 0.80
GetRowYMethod · 0.45

Tested by

no test coverage detected