Abstract
Protected
graphicalProtected
rulesProtected
textProtected
leadProtected
activateProtected
applyProtected
applyProtected
applyProtected
drawProtected
drawDraws a continuous dynamic expression (wedges) to the canvas
GraphicalContinuousDynamicExpression to be drawn
Protected
drawDraw all dashes to the canvas
Array of lyric dashes to be drawn
Protected
drawProtected
drawProtected
drawProtected
drawDraws an instantaneous dynamic expression (p, pp, f, ff, ...) to the canvas
GraphicalInstantaneousDynamicExpression to be drawn
Protected
drawProtected
drawProtected
drawProtected
drawProtected
drawProtected
drawProtected
drawProtected
drawProtected
Abstract
drawProtected
drawProtected
drawProtected
drawProtected
drawProtected
drawProtected
drawProtected
drawProtected
drawProtected
drawProtected
getProtected
getProtected
isProtected
renderProtected
renderProtected
render
Draw a [[GraphicalMusicSheet]] (through the .drawSheet method)
The drawing is implemented with a top-down approach, starting from a music sheet, going through pages, systems, staffs... ... and ending in notes, beams, accidentals and other symbols. It's worth to say, that this class just draws the symbols and graphical elements, using the positions that have been computed before. But in any case, some of these previous positioning algorithms need the sizes of the concrete symbols (NoteHeads, sharps, flats, keys...). Therefore, there are some static functions on the 'Bounding Boxes' section used to compute these symbol boxes at the beginning for the later use in positioning algorithms.
This class also includes the resizing and positioning of the symbols due to user interaction like zooming or panning.