示例#1
0
文件: note.cpp 项目: rondini/verovio
void Note::Reset()
{
    LayerElement::Reset();
    DurationInterface::Reset();
    PitchInterface::Reset();
    
    ResetColoration();
    ResetGraced();
    ResetNoteLogMensural();
    ResetStemmed();
    ResetTiepresent();
    
    // TO BE REMOVED
    m_embellishment = EMB_NONE;
    // tie pointers
    ResetDrawingTieAttr();
    // accid pointer
    ResetDrawingAccid();
    
    m_drawingStemDir = STEMDIRECTION_NONE;
    d_stemLen = 0;
    m_clusterPosition = 0;
    m_cluster = NULL;
    m_graceAlignment = NULL;
}
示例#2
0
文件: chord.cpp 项目: avorio/verovio
void Chord::Reset()
{
    ClearClusters();
    DocObject::Reset();
    DurationInterface::Reset();
    ResetCommon();
    ResetStemmed();
    ResetTiepresent();
}