Search in sources :

Example 1 with ContinuedElement

use of com.xenoage.zong.musiclayout.continued.ContinuedElement in project Zong by Xenoage.

the class ScoreLayouter method createScoreFrameLayouts.

/**
 * Creates all {@link ScoreFrameLayout}s.
 */
List<ScoreFrameLayout> createScoreFrameLayouts(FramesSpacing frames, Notations notations, Context context, Map<Beam, BeamSpacing> beamsSpacing) {
    ArrayList<ScoreFrameLayout> ret = alist();
    ArrayList<ContinuedElement> continuedElements = alist();
    for (int iFrame : range(frames.size())) {
        ScoreFrameLayout sfl = scoreFrameLayouter.computeScoreFrameLayout(frames.get(iFrame), iFrame, notations, continuedElements, context, beamsSpacing);
        ret.add(sfl);
        continuedElements = sfl.getContinuedElements();
    }
    return ret;
}
Also used : ContinuedElement(com.xenoage.zong.musiclayout.continued.ContinuedElement) ScoreFrameLayout(com.xenoage.zong.musiclayout.ScoreFrameLayout)

Aggregations

ScoreFrameLayout (com.xenoage.zong.musiclayout.ScoreFrameLayout)1 ContinuedElement (com.xenoage.zong.musiclayout.continued.ContinuedElement)1