X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcolortools.h;h=c55507cb59a972baabdbe1081d86b0647abd2ba2;hb=c3302003093710ee247ad84c0fe2ef3c579d417f;hp=2bd84b1619c2f855cadd47f08266c84305c1e6f7;hpb=55fc4cfc56fa01993530deb889f6ad990aeb057f;p=kdenlive diff --git a/src/colortools.h b/src/colortools.h index 2bd84b16..c55507cb 100644 --- a/src/colortools.h +++ b/src/colortools.h @@ -76,8 +76,12 @@ public: Basic HSV plane with two components varying on the x and y axis. If both components are the same, then the y axis will be considered. MIN/MAX give the minimum/maximum saturation, usually 0..255. + Missing colour components will be taken from baseColor. + For shear == true, the image will be sheared such that the x axis goes through (0,0) and (1,1). offsetY can additionally + shift the whole x axis vertically. */ - static QImage hsvCurvePlane(const QSize &size, const QColor &baseColor, const ComponentsHSV &xVariant, const ComponentsHSV &yVariant); + static QImage hsvCurvePlane(const QSize &size, const QColor &baseColor, + const ComponentsHSV &xVariant, const ComponentsHSV &yVariant, const bool &shear = false, const float offsetY = 0); signals: void signalYuvWheelCalculationFinished();