Krita Source Code Documentation
Loading...
Searching...
No Matches
KisStrokeSpeedMonitor::Private Struct Reference

Public Member Functions

 Private ()
 

Public Attributes

KisRollingMeanAccumulatorWrapper avgCursorSpeed
 
KisRollingMeanAccumulatorWrapper avgFps
 
KisRollingMeanAccumulatorWrapper avgRenderingSpeed
 
qreal cachedAvgCursorSpeed = 0
 
qreal cachedAvgFps = 0
 
qreal cachedAvgRenderingSpeed = 0
 
bool haveStrokeSpeedMeasurement = true
 
qreal lastCursorSpeed = 0
 
qreal lastFps = 0
 
QByteArray lastPresetMd5
 
QString lastPresetName
 
qreal lastPresetSize = 0
 
qreal lastRenderingSpeed = 0
 
bool lastStrokeSaturated = false
 
QMutex mutex
 

Static Public Attributes

static const int averageWindow = 10
 

Detailed Description

Definition at line 25 of file KisStrokeSpeedMonitor.cpp.

Constructor & Destructor Documentation

◆ Private()

KisStrokeSpeedMonitor::Private::Private ( )
inline

Definition at line 29 of file KisStrokeSpeedMonitor.cpp.

33 {
34 }
KisRollingMeanAccumulatorWrapper avgFps
KisRollingMeanAccumulatorWrapper avgRenderingSpeed
KisRollingMeanAccumulatorWrapper avgCursorSpeed

Member Data Documentation

◆ averageWindow

const int KisStrokeSpeedMonitor::Private::averageWindow = 10
static

Definition at line 27 of file KisStrokeSpeedMonitor.cpp.

◆ avgCursorSpeed

KisRollingMeanAccumulatorWrapper KisStrokeSpeedMonitor::Private::avgCursorSpeed

Definition at line 36 of file KisStrokeSpeedMonitor.cpp.

◆ avgFps

KisRollingMeanAccumulatorWrapper KisStrokeSpeedMonitor::Private::avgFps

Definition at line 38 of file KisStrokeSpeedMonitor.cpp.

◆ avgRenderingSpeed

KisRollingMeanAccumulatorWrapper KisStrokeSpeedMonitor::Private::avgRenderingSpeed

Definition at line 37 of file KisStrokeSpeedMonitor.cpp.

◆ cachedAvgCursorSpeed

qreal KisStrokeSpeedMonitor::Private::cachedAvgCursorSpeed = 0

Definition at line 40 of file KisStrokeSpeedMonitor.cpp.

◆ cachedAvgFps

qreal KisStrokeSpeedMonitor::Private::cachedAvgFps = 0

Definition at line 42 of file KisStrokeSpeedMonitor.cpp.

◆ cachedAvgRenderingSpeed

qreal KisStrokeSpeedMonitor::Private::cachedAvgRenderingSpeed = 0

Definition at line 41 of file KisStrokeSpeedMonitor.cpp.

◆ haveStrokeSpeedMeasurement

bool KisStrokeSpeedMonitor::Private::haveStrokeSpeedMeasurement = true

Definition at line 53 of file KisStrokeSpeedMonitor.cpp.

◆ lastCursorSpeed

qreal KisStrokeSpeedMonitor::Private::lastCursorSpeed = 0

Definition at line 44 of file KisStrokeSpeedMonitor.cpp.

◆ lastFps

qreal KisStrokeSpeedMonitor::Private::lastFps = 0

Definition at line 46 of file KisStrokeSpeedMonitor.cpp.

◆ lastPresetMd5

QByteArray KisStrokeSpeedMonitor::Private::lastPresetMd5

Definition at line 49 of file KisStrokeSpeedMonitor.cpp.

◆ lastPresetName

QString KisStrokeSpeedMonitor::Private::lastPresetName

Definition at line 50 of file KisStrokeSpeedMonitor.cpp.

◆ lastPresetSize

qreal KisStrokeSpeedMonitor::Private::lastPresetSize = 0

Definition at line 51 of file KisStrokeSpeedMonitor.cpp.

◆ lastRenderingSpeed

qreal KisStrokeSpeedMonitor::Private::lastRenderingSpeed = 0

Definition at line 45 of file KisStrokeSpeedMonitor.cpp.

◆ lastStrokeSaturated

bool KisStrokeSpeedMonitor::Private::lastStrokeSaturated = false

Definition at line 47 of file KisStrokeSpeedMonitor.cpp.

◆ mutex

QMutex KisStrokeSpeedMonitor::Private::mutex

Definition at line 55 of file KisStrokeSpeedMonitor.cpp.


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