AbstractProtecteddynamicProtectedgraphicalProtectedgraphicalProtectedmusicProtectedrulesProtectedskyLazy rendering: cache of computed sky/bottom lines, keyed per staff line by its system's measure range + staff index. A growing-prefix batch re-runs the (expensive) skyline pass over the whole prefix; this lets stable interior systems reuse the lines computed in an earlier batch instead of re-measuring them. Only used when EngravingRules.LazyConsistentGraphic; cleared per lazy session.
ProtectedstaffProtectedstaffProtectedstaffProtectedstaffStaticstafflineStaticsymbolProtected StatictextStatictransposeProtectedleadStaticTextProtectedcalcThe main method for the Calculator.
ProtectedcalculateProtectedcalculateProtectedcalculateProtectedcalculateProtectedcalculateRe-adjust the x positioning of expressions.
ProtectedcalculateThis method calculates the RelativePosition of a single GraphicalContinuousDynamic.
Graphical continous dynamic to be calculated
Starting point in staff line
ProtectedcalculateThis method calculates the RelativePosition of a single GraphicalInstantaneousDynamicExpression.
Dynamic expression to be calculated
Starting point in staff line
ProtectedcalculateThis method calculates the RelativePosition of a single verbal GraphicalContinuousDynamic.
Graphical continous dynamic to be calculated
Starting point in staff line
ProtectedcalculateProtectedcalculatecalculates the dashes of lyric words and the extending underscore lines of syllables sung on more than one note.
ProtectedcalculateProtectedcalculateIterate through all Measures and calculates the MeasureNumberLabels.
ProtectedcalculateCalculates the x layout of the staff entries within the staff measures belonging to one source measure. All staff entries are x-aligned throughout all the measures.
The minimum required x width of the source measure
ProtectedcalculateProtectedcalculateStore the newly computed [[Measure]]s in newly created [[MusicSystem]]s.
ProtectedcalculateProtectedcalculateProtectedcalculateProtectedcalculateProtectedcalculateCalculate a single OctaveShift for a [[MultiExpression]].
Protected AbstractcalculateCalculate a single Pedal for a [[MultiExpression]].
ProtectedcalculateCalculate the Lyrics YPositions for a single [[StaffLine]].
Protected AbstractcalculateCalculate a single Wavy Line for a [[MultiExpression]].
ProtectedcalculateProtectedcalculateProtectedcalculateProtectedcalculateProtectedcalculateCalculate all the textual [[RepetitionInstruction]]s (e.g. dal segno) for a single [[SourceMeasure]].
ProtectedcheckProtectedclearDelete all Objects that must be recalculated. If graphicalMusicSheet.reCalculate has been called, then this method will be called to reset or remove all flexible graphical music symbols (e.g. Ornaments, Lyrics, Slurs) graphicalMusicSheet will have MusicPages, they will have MusicSystems etc...
Drop the lazy sky/bottom-line reuse cache (call when starting a fresh lazy session).
ProtectedclearProtectedcreateProtectedcreateProtectedcreateProtectedformatProtectedgetProtectedgetProtectedgraphicalProtectedhandleProtectedhandleThis method handles a [[StaffEntryLink]].
ProtectedhandleCheck if the tied graphical note belongs to any beams or tuplets and react accordingly.
ProtectedhandleProtectedhandleProtectedhandleProtectedhandleProtectedhandleProtectedhandleAdds a technical instruction at the given staff entry.
ProtectedinitCalled for every source measure when generating the list of staff measures for it.
ProtectedlayoutProtectedlayoutProtectedlayoutCalculate the shape (Bézier curve) for this tie.
ProtectedlayoutDo layout on staff measures which only consist of a full rest.
ProtectedlayoutProtectedlayoutCalculate a single GraphicalRepetition.
ProtectedlayoutProtectedlayoutProtectedlayoutProtectedmaxProtectedoptimizeBuild the 2D [[GraphicalMeasure]] list needed for the [[MusicSheetCalculator]]. Internally it creates [[GraphicalMeasure]]s, [[GraphicalStaffEntry]]'s and [[GraphicalNote]]s.
ProtectedresetProtectedskyStable per-staff-line key for the lazy sky/bottom-line cache: the system's measure range pins the system (systems partition the measures), the staff index picks the line within it. Returns undefined for a staff line with no usable measures (so it is never cached/reused).
ProtectedupdateProtected Staticset
Class used to do all the calculations in a MusicSheet, which in the end populates a GraphicalMusicSheet.