| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
| [ < accidental-interface ] | [ Up : Graphical Object Interfaces ] | [ accidental-suggestion-interface > ] |
3.2.2 accidental-placement-interface
Resolve accidental collisions.
User settable properties:
direction(direction)If
side-axisis0(orX), then this property determines whether the object is placedLEFT,CENTERorRIGHTwith respect to the other object. Otherwise, it determines whether the object is placedUP,CENTERorDOWN. Numerical values may also be used:UP=1,DOWN=-1,LEFT=-1,RIGHT=1,CENTER=0.padding(dimension, in staff space)Add this much extra space between objects that are next to each other.
right-padding(dimension, in staff space)Space to insert on the right side of an object (e.g., between note and its accidentals).
script-priority(number)A key for determining the order of scripts in a stack, by being added to the position of the script in the user input, the sum being the overall priority. Smaller means closer to the head.
Internal properties:
accidental-grobs(list)An alist with
(notename . groblist)entries.positioning-done(boolean)Used to signal that a positioning element did its job. This ensures that a positioning is only done once.
This grob interface is used in the following graphical object(s): AccidentalPlacement.
| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
| [ < accidental-interface ] | [ Up : Graphical Object Interfaces ] | [ accidental-suggestion-interface > ] |