Search in sources :

Example 6 with ScoreFormat

use of com.xenoage.zong.core.format.ScoreFormat in project Zong by Xenoage.

the class ScoreFormatReader method read.

@NonNull
public ScoreFormat read() {
    scoreFormat = new ScoreFormat();
    if (mxlDefaults != null) {
        readInterlineSpace();
        mxlLayout = mxlDefaults.getLayout();
        if (mxlLayout != null) {
            readSystemLayout();
            readStaffLayouts();
        }
        readLyricsFont();
    }
    return scoreFormat;
}
Also used : ScoreFormat(com.xenoage.zong.core.format.ScoreFormat) NonNull(com.xenoage.utils.annotations.NonNull)

Aggregations

ScoreFormat (com.xenoage.zong.core.format.ScoreFormat)6 Score (com.xenoage.zong.core.Score)4 ScoreHeader (com.xenoage.zong.core.header.ScoreHeader)4 StavesSpacing (com.xenoage.zong.musiclayout.spacing.StavesSpacing)2 SystemSpacing (com.xenoage.zong.musiclayout.spacing.SystemSpacing)2 Paint (android.graphics.Paint)1 NonNull (com.xenoage.utils.annotations.NonNull)1 InvalidFormatException (com.xenoage.utils.exceptions.InvalidFormatException)1 Point2f (com.xenoage.utils.math.geom.Point2f)1 Size2f (com.xenoage.utils.math.geom.Size2f)1 LayoutFormat (com.xenoage.zong.core.format.LayoutFormat)1 PageFormat (com.xenoage.zong.core.format.PageFormat)1 PageMargins (com.xenoage.zong.core.format.PageMargins)1 StaffLayout (com.xenoage.zong.core.format.StaffLayout)1 SystemLayout (com.xenoage.zong.core.format.SystemLayout)1 ColumnHeader (com.xenoage.zong.core.header.ColumnHeader)1 ScoreInfo (com.xenoage.zong.core.info.ScoreInfo)1 StavesList (com.xenoage.zong.core.music.StavesList)1 LayoutFormatReader (com.xenoage.zong.io.musicxml.in.readers.LayoutFormatReader)1 ScoreFormatReader (com.xenoage.zong.io.musicxml.in.readers.ScoreFormatReader)1