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

Handles x-scaling of traces. More...

#include <zoom.h>

Public Member Functions

 XZoom ()
 Default constructor.
 XZoom (long spx, double xz, bool lsx=false)
 Constructor.
XZoom operator* (double factor)
 Overloaded multiplication operator.

Public Attributes

long startPosX
double xZoom
bool isLogScaleX

Detailed Description

Handles x-scaling of traces.

Definition at line 48 of file zoom.h.

Constructor & Destructor Documentation

◆ XZoom() [1/2]

XZoom::XZoom ( )
inline

Default constructor.

Definition at line 51 of file zoom.h.

References isLogScaleX, startPosX, and xZoom.

Referenced by operator*().

◆ XZoom() [2/2]

XZoom::XZoom ( long spx,
double xz,
bool lsx = false )
inline

Constructor.

Parameters
spxThe x offset in pixels.
xzThe x-scaling.
lsxCurrently unused.

Definition at line 59 of file zoom.h.

References isLogScaleX, startPosX, and xZoom.

Member Function Documentation

◆ operator*()

XZoom XZoom::operator* ( double factor)

Overloaded multiplication operator.

References XZoom().

Member Data Documentation

◆ isLogScaleX

bool XZoom::isLogScaleX

Currently unused.

Definition at line 64 of file zoom.h.

Referenced by XZoom(), and XZoom().

◆ startPosX

long XZoom::startPosX

The x offset in pixels.

Definition at line 62 of file zoom.h.

Referenced by XZoom(), and XZoom().

◆ xZoom

double XZoom::xZoom

The x-scaling.

Definition at line 63 of file zoom.h.

Referenced by XZoom(), and XZoom().


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