Krita Source Code Documentation
Loading...
Searching...
No Matches
MyPaintCurveRangeModel.cpp File Reference
#include "MyPaintCurveRangeModel.h"
#include "kis_algebra_2d.h"
#include "kis_cubic_curve.h"
#include <lager/lenses.hpp>
#include <lager/constant.hpp>
#include <KisZug.h>
#include <KisDynamicSensorFactoryRegistry.h>
#include <KisCurveRangeModel.h>

Go to the source code of this file.

Functions

 LAGER_QT (xMax)
 
 LAGER_QT (xMaxState)
 
 LAGER_QT (xMin)
 
 LAGER_QT (xMinState)
 

Function Documentation

◆ LAGER_QT() [1/4]

LAGER_QT ( xMax )

Definition at line 93 of file MyPaintCurveRangeModel.cpp.

93{m_normalizedCurve[&NormalizedCurve::xMax]}

◆ LAGER_QT() [2/4]

LAGER_QT ( xMaxState )

Definition at line 99 of file MyPaintCurveRangeModel.cpp.

99 {lager::with(m_normalizedCurve[&NormalizedCurve::xMax],
100 lager::make_constant(1.0),
101 lager::with(m_activeSensorId, m_activeSensorLength)
103 lager::make_constant(true))
104 .map(ToSpinBoxState{})}
static qreal calcXMaxValueWithFactory(const QString &activeSensorId, const int length)

References KisCurveRangeModel::calcXMaxValueWithFactory().

◆ LAGER_QT() [3/4]

LAGER_QT ( xMin )

Definition at line 92 of file MyPaintCurveRangeModel.cpp.

92{m_normalizedCurve[&NormalizedCurve::xMin]}

◆ LAGER_QT() [4/4]

LAGER_QT ( xMinState )

Definition at line 94 of file MyPaintCurveRangeModel.cpp.

94 {lager::with(m_normalizedCurve[&NormalizedCurve::xMin],
96 lager::make_constant(0.0),
97 lager::make_constant(true))
98 .map(ToSpinBoxState{})}
static qreal calcXMinValueWithFactory(const QString &sensorId)

References KisCurveRangeModel::calcXMinValueWithFactory().