| 345 | } |
| 346 | |
| 347 | CanvasElement* NoteCanvasElement::CreateDuplicate() const |
| 348 | { |
| 349 | NoteCanvasElement* element = new NoteCanvasElement(mCanvas, mCol, mRow, mOffset, mLength); |
| 350 | element->mVelocity = mVelocity; |
| 351 | element->mVoiceIdx = mVoiceIdx; |
| 352 | return element; |
| 353 | } |
| 354 | |
| 355 | void NoteCanvasElement::DrawContents(bool clamp, bool wrapped, ofVec2f offset) |
| 356 | { |
no test coverage detected