27#include "musx/dom/Details.h"
28#include "musx/dom/EnumClasses.h"
62 static std::optional<std::pair<dom::TieConnectStyleType, dom::TieConnectStyleType>>
calcConnectStyleTypes(
79 const dom::NoteInfoPtr& noteInfo,
bool forTieEnd,
bool forEndPoint,
bool forPageView =
false);
95 static std::optional<dom::TieConnectStyleType> calcConnectStyleTypeAtEndPoint(
98 std::optional<size_t> noteIndexOverride = std::nullopt, std::optional<size_t> noteCountOverride = std::nullopt,
99 std::optional<bool> upStemSecondOverride = std::nullopt, std::optional<bool> downStemSecondOverride = std::nullopt);
Wraps an EntryInfo instance and a note index.
Definition Entries.h:1553
Static class containing utilites for ties.
Definition Tie.h:39
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.
Definition Tie.cpp:610
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.
Definition Tie.cpp:474
static bool calcIsOuterConnectStyle(dom::TieConnectStyleType type)
Returns true if the connect style is an outer placement.
Definition Tie.cpp:605
static dom::CurveContourDirection calcEffectiveDirection(const dom::NoteInfoPtr ¬eInfo, bool forTieEnd)
Calculates the effective tie direction taking into account overrides and special rules.
Definition Tie.cpp:375
static dom::CurveContourDirection calcDefaultDirection(const dom::NoteInfoPtr ¬eInfo, bool forTieEnd)
Calculates the default tie direction for the specified note.
Definition Tie.cpp:250
CurveContourDirection
Curve contour direction for ties and slurs.
Definition EnumClasses.h:62
TieConnectStyleType
Enumeration for tie connect style types.
Definition EnumClasses.h:176
object model for musx file (enigmaxml)
Definition BaseClasses.h:36