Ardour  9.0-pre0-582-g084a23a80d
ArdourCanvas::Ruler::Metric Struct Referenceabstract

#include <ruler.h>

Inheritance diagram for ArdourCanvas::Ruler::Metric:
[legend]

Public Member Functions

 Metric ()
 
virtual ~Metric ()
 
virtual void get_marks (std::vector< Mark > &, int64_t lower, int64_t upper, int maxchars) const =0
 

Public Attributes

double units_per_pixel
 

Detailed Description

Definition at line 47 of file canvas/canvas/ruler.h.

Constructor & Destructor Documentation

◆ Metric()

ArdourCanvas::Ruler::Metric::Metric ( )
inline

Definition at line 48 of file canvas/canvas/ruler.h.

◆ ~Metric()

virtual ArdourCanvas::Ruler::Metric::~Metric ( )
inlinevirtual

Definition at line 49 of file canvas/canvas/ruler.h.

Member Function Documentation

◆ get_marks()

virtual void ArdourCanvas::Ruler::Metric::get_marks ( std::vector< Mark > &  ,
int64_t  lower,
int64_t  upper,
int  maxchars 
) const
pure virtual

Member Data Documentation

◆ units_per_pixel

double ArdourCanvas::Ruler::Metric::units_per_pixel

Definition at line 51 of file canvas/canvas/ruler.h.


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