HorizontalFrequencyScale Class Reference

#include <HorizontalFrequencyScale.h>

Public Member Functions

int getHeight (LayerGeometryProvider *v, QPainter &paint)
 
void paintScale (LayerGeometryProvider *v, const HorizontalScaleProvider *provider, QPainter &paint, QRect r, bool logarithmic)
 

Detailed Description

Definition at line 25 of file HorizontalFrequencyScale.h.

Member Function Documentation

int HorizontalFrequencyScale::getHeight ( LayerGeometryProvider v,
QPainter &  paint 
)
void HorizontalFrequencyScale::paintScale ( LayerGeometryProvider v,
const HorizontalScaleProvider provider,
QPainter &  paint,
QRect  r,
bool  logarithmic 
)

!! todo: pixel scaling (here & elsewhere in these classes)

Definition at line 34 of file HorizontalFrequencyScale.cpp.

References HorizontalScaleProvider::getFrequencyForX(), and HorizontalScaleProvider::getXForFrequency().

Referenced by SpectrumLayer::paintHorizontalScale().


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