Audacity 3.2.0
|
Public Member Functions | |
BeatsGridlinePainter (const ZoomInfo &zoomInfo, const AudacityProject &project) noexcept | |
void | DrawSeparators (wxDC &dc, const wxRect &rect, const wxPen &beatSepearatorPen, const wxPen &barSeparatorPen) const |
void | DrawBackground (wxDC &dc, const wxRect &subRect, const wxRect &fullRect, const wxBrush &strongBeatBrush, const wxBrush &weakBeatBrush) const |
Public Attributes | |
const ZoomInfo & | zoomInfo |
const bool | enabled |
const BeatsFormat & | beatsRulerFormat |
const BeatsFormat::Tick | majorTick |
const BeatsFormat::Tick | minorTick |
const double | noteDuration |
const double | noteWidth |
const int64_t | notesInBeat |
Private Member Functions | |
int64_t | CalculateNotesInBeat () const |
bool | IsFirstInMajorTick (int64_t noteIndex) const |
bool | UseAlternatingColors () const |
double | GetPositionInRect (int64_t index, const wxRect &rect, double duration) const |
std::pair< int64_t, int64_t > | GetBoundaries (const wxRect &subRect, const wxRect &fullRect, double width) const |
BeatsFormat::Tick | GetMinorTick () const |
Definition at line 489 of file TrackArt.cpp.
|
inlinenoexcept |
Definition at line 507 of file TrackArt.cpp.
|
inlineprivate |
Definition at line 581 of file TrackArt.cpp.
References BeatsFormat::Tick::lower.
|
inline |
Definition at line 541 of file TrackArt.cpp.
|
inline |
Definition at line 521 of file TrackArt.cpp.
|
inlineprivate |
Definition at line 610 of file TrackArt.cpp.
References ZoomInfo::GetAbsoluteOffset().
|
inlineprivate |
Definition at line 620 of file TrackArt.cpp.
References BeatsFormat::GetSubdivision(), BeatsFormat::Ticks::minorMinor, anonymous_namespace{TrackArt.cpp}::minSubdivisionWidth, and ZoomInfo::TimeRangeToPixelWidth().
|
inlineprivate |
Definition at line 605 of file TrackArt.cpp.
References ZoomInfo::TimeToPosition().
|
inlineprivate |
Definition at line 589 of file TrackArt.cpp.
References BeatsFormat::Tick::lower, and BeatsFormat::Tick::upper.
|
inlineprivate |
Definition at line 600 of file TrackArt.cpp.
References BeatsFormat::Tick::lower, and BeatsFormat::Tick::upper.
const BeatsFormat& anonymous_namespace{TrackArt.cpp}::BeatsGridlinePainter::beatsRulerFormat |
Definition at line 494 of file TrackArt.cpp.
const bool anonymous_namespace{TrackArt.cpp}::BeatsGridlinePainter::enabled |
Definition at line 492 of file TrackArt.cpp.
const BeatsFormat::Tick anonymous_namespace{TrackArt.cpp}::BeatsGridlinePainter::majorTick |
Definition at line 496 of file TrackArt.cpp.
const BeatsFormat::Tick anonymous_namespace{TrackArt.cpp}::BeatsGridlinePainter::minorTick |
Definition at line 497 of file TrackArt.cpp.
const double anonymous_namespace{TrackArt.cpp}::BeatsGridlinePainter::noteDuration |
Definition at line 500 of file TrackArt.cpp.
const int64_t anonymous_namespace{TrackArt.cpp}::BeatsGridlinePainter::notesInBeat |
Definition at line 504 of file TrackArt.cpp.
const double anonymous_namespace{TrackArt.cpp}::BeatsGridlinePainter::noteWidth |
Definition at line 502 of file TrackArt.cpp.
const ZoomInfo& anonymous_namespace{TrackArt.cpp}::BeatsGridlinePainter::zoomInfo |
Definition at line 491 of file TrackArt.cpp.