13#ifndef KIS_CIETONGUEWIDGET_H
14#define KIS_CIETONGUEWIDGET_H
27#include <kritaui_export.h>
39 void setProfileData(QVector <double>
p, QVector <double> w,
bool profileData =
false);
40 void setGamut(QPolygonF gamut);
41 void setRGBData(QVector <double> whitepoint, QVector <double> colorants);
42 void setCMYKData(QVector <double> whitepoint);
43 void setXYZData(QVector <double> whitepoint);
44 void setGrayData(QVector <double> whitepoint);
45 void setLABData(QVector <double> whitepoint);
46 void setYCbCrData(QVector <double> whitepoint);
47 void setProfileDataAvailable(
bool dataAvailable);
57 int grids(
double val)
const;
61 void drawTongueAxis();
62 void drawTongueGrid();
65 QRgb colorByCoord(
double x,
double y);
66 void drawSmallEllipse(QPointF xy,
int r,
int g,
int b,
int sz);
68 void resizeEvent(QResizeEvent* event)
override;
69 void paintEvent(QPaintEvent*)
override;
73 void drawColorantTriangle();
75 void drawWhitePoint();
79 void mapPoint(
int& icx,
int& icy, QPointF xy);
80 void biasedLine(
int x1,
int y1,
int x2,
int y2);
81 void biasedText(
int x,
int y,
const QString& txt);