Stimfit @PACKAGE_VERSION@
Loading...
Searching...
No Matches
YZoom Class Reference

Handles y-scaling of traces. More...

#include <zoom.h>

Public Member Functions

 YZoom ()
 Default constructor.
 YZoom (long spy1, double yz1, bool lsy=false)
 Constructor.
YZoom operator* (double factor)
 Overloaded multiplication operator.

Public Attributes

long startPosY
double yZoom
bool isLogScaleY

Detailed Description

Handles y-scaling of traces.

Definition at line 25 of file zoom.h.

Constructor & Destructor Documentation

◆ YZoom() [1/2]

YZoom::YZoom ( )
inline

Default constructor.

Definition at line 28 of file zoom.h.

References isLogScaleY, startPosY, and yZoom.

Referenced by operator*().

◆ YZoom() [2/2]

YZoom::YZoom ( long spy1,
double yz1,
bool lsy = false )
inline

Constructor.

Parameters
spy1The y offset in pixels.
yz1The y-scaling.
lsyCurrently unused.

Definition at line 36 of file zoom.h.

References isLogScaleY, startPosY, and yZoom.

Member Function Documentation

◆ operator*()

YZoom YZoom::operator* ( double factor)

Overloaded multiplication operator.

References YZoom().

Member Data Documentation

◆ isLogScaleY

bool YZoom::isLogScaleY

Currently unused.

Definition at line 41 of file zoom.h.

Referenced by YZoom(), and YZoom().

◆ startPosY

long YZoom::startPosY

The y offset in pixels.

Definition at line 39 of file zoom.h.

Referenced by YZoom(), and YZoom().

◆ yZoom

double YZoom::yZoom

The y-scaling.

Definition at line 40 of file zoom.h.

Referenced by YZoom(), and YZoom().


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