Logo Search packages:      
Sourcecode: rosegarden version File versions  Download package

Rosegarden::ZoomableMatrixHLayoutRulerScale Class Reference

#include <MatrixHLayout.h>

Inheritance diagram for Rosegarden::ZoomableMatrixHLayoutRulerScale:


List of all members.

Detailed Description

"zoomable" version of the above, used in the MatrixView to properly scale Tempo and Chord rulers.

Definition at line 134 of file MatrixHLayout.h.

Public Member Functions

virtual int getBarForX (double x) const
virtual double getBarPosition (int n) const
virtual double getBarWidth (int n) const
virtual double getBeatWidth (int n) const
Composition * getComposition () const
virtual timeT getDurationForWidth (double x, double width) const
virtual int getFirstVisibleBar () const
double getHScaleFactor () const
virtual int getLastVisibleBar () const
virtual timeT getTimeForX (double x) const
virtual double getTotalWidth () const
virtual double getWidthForDuration (timeT startTime, timeT duration) const
virtual double getXForTime (timeT time) const
void setHScaleFactor (double dy)
 ZoomableMatrixHLayoutRulerScale (MatrixHLayout &layout)

Protected Attributes

Composition * m_composition
double m_hScaleFactor
MatrixHLayout & m_referenceHLayout

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index