|
MUSX Document Model
|
Static class containing utilites for ties. More...
#include <Tie.h>
Static Public Member Functions | |
| static dom::CurveContourDirection | calcDefaultDirection (const dom::NoteInfoPtr ¬eInfo, bool forTieEnd) |
| Calculates the default tie direction for the specified note. | |
| static dom::CurveContourDirection | calcEffectiveDirection (const dom::NoteInfoPtr ¬eInfo, bool forTieEnd) |
| Calculates the effective tie direction taking into account overrides and special rules. | |
| static std::optional< std::pair< dom::TieConnectStyleType, dom::TieConnectStyleType > > | calcConnectStyleTypes (const dom::NoteInfoPtr ¬eInfo, bool forTieEnd) |
| Calculates the connect style types for both endpoints of a tie. | |
| static bool | calcIsOuterConnectStyle (dom::TieConnectStyleType type) |
| Returns true if the connect style is an outer placement. | |
| static std::optional< dom::details::TieAlterBase::ConnectionType > | calcConnectionType (const dom::NoteInfoPtr ¬eInfo, bool forTieEnd, bool forEndPoint, bool forPageView=false) |
| Calculates the default connection type for a tie endpoint. | |
Static class containing utilites for ties.
|
static |
Calculates the default connection type for a tie endpoint.
| noteInfo | The note whose endpoint is being analyzed. |
| forTieEnd | True if the endpoint is for a tie end; false for a tie start. |
| forEndPoint | True if calculating the end point; false for the start point. |
| forPageView | True if calculating with page view system breaks, false for scroll/studio view. |
|
static |
Calculates the connect style types for both endpoints of a tie.
| noteInfo | The note whose tie is being analyzed. |
| forTieEnd | True if the note represents a tie end; false for tie starts. |
|
static |
Calculates the default tie direction for the specified note.
| noteInfo | The note whose default tie direction is being calculated. |
| forTieEnd | If true, the tie-end contour is returned; otherwise the tie-start contour. |
|
static |
Calculates the effective tie direction taking into account overrides and special rules.
| noteInfo | The note whose effective tie direction is being calculated. |
| forTieEnd | If true, uses the tie-end context; otherwise uses the tie-start context. |
|
static |
Returns true if the connect style is an outer placement.
| type | The connect style to classify. |
type is an outer placement, otherwise false.