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;
}
Aggregations