#include <StemsMS.h>
Inheritance diagram for GroupedStemsMS:

Public Member Functions | |
| void | setTuplet () |
| void | finalize () |
| Collider * | getCollider () |
| GroupedStemsMS () | |
| void | addSupport (StemSupport *) |
| void | draw (Painter *) |
| QString | toString () |
The stem representation require a sophisticated component to represent it. This class is full of computation that are more or less a ma This single class hold all the grouped stems representation. That is why it is so sohpisticated. You may use a lot of function A is the oriented regression factor. A regression with attract and repulsive points.
specifications
|
|
Build a grouped stems At the debug we build a number of support they should be removed after |
|
|
add a stem support to the group of stems |
|
|
Draw The stems At the beginning we draw crosses Here we determine the parameter of the regression. Draw the first bar and compute the parameters Draw the number of support over the stem if is a tuplet Draw the vertical line tying the first bar draws the second bar This block is for the end of tied stem bar. Then you cannot represent the stem bar after so we draw it before. In other cases we can represent the stem bar after Implements MusicSymbol. |
|
|
This method is called before the stem is appended to the grouped stem vector it perform initialization of the supports and collider * Here we check that no note head is too close of a stem bar If the distance is not sufficient we modifiy the B and A parameter This can only be done if b and a are buffered If a stem was detected to be too close of the stem bar we recompute the colliders support |
|
|
I hope no collision test are done Implements MusicSymbol. |
|
|
if this method is called then the Stem will be represented with a tuplet symbol (i.e a number over the stem bar in the middle) |
|
|
For many symbols this function should be overrided.
Reimplemented from MusicSymbol. |
1.3.6