Lumiera  0.pre.03
»edit your freedom«
ZoomMetric< I > Class Template Reference

#include "stage/model/zoom-metric.hpp"

Description

template<class I>
class stage::model::ZoomMetric< I >

Mix-In to implement the DisplayMetric interface on top of a ZoomWindow component, directly embedded here and thus also accessible downstream.

Remarks
intended to inherit from and implement DisplayMetric

Definition at line 73 of file zoom-metric.hpp.

Public Member Functions

TimeValue applyScreenDelta (Time anchor, double deltaPx) const override
 
TimeSpan coveredTime () const override
 
int translateScreenDelta (Offset timeOffset) const override
 
int translateTimeToPixels (TimeValue startTimePoint) const override
 

Protected Attributes

ZoomWindow zoomWindow_
 
+ Inheritance diagram for ZoomMetric< I >:
+ Collaboration diagram for ZoomMetric< I >:

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