13#ifndef KIS_TONECURVEWIDGET_H
14#define KIS_TONECURVEWIDGET_H
20#include <kritaui_export.h>
31 void setGreyscaleCurve(QPolygonF poly);
32 void setRGBCurve(QPolygonF red, QPolygonF green, QPolygonF blue);
33 void setCMYKCurve(QPolygonF cyan, QPolygonF magenta, QPolygonF yellow, QPolygonF key);
34 void setProfileDataAvailable(
bool dataAvailable);
37 int grids(
double val)
const;
39 void resizeEvent(QResizeEvent* event)
override;
40 void paintEvent(QPaintEvent*)
override;
45 void mapPoint(QPointF & xy);
46 void biasedLine(
int x1,
int y1,
int x2,
int y2);
47 void biasedText(
int x,
int y,
const QString& txt);