diff options
Diffstat (limited to 'digikam/libs/curves/imagecurves.cpp')
-rw-r--r-- | digikam/libs/curves/imagecurves.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/digikam/libs/curves/imagecurves.cpp b/digikam/libs/curves/imagecurves.cpp index 4611595..c5e067e 100644 --- a/digikam/libs/curves/imagecurves.cpp +++ b/digikam/libs/curves/imagecurves.cpp @@ -288,7 +288,7 @@ float ImageCurves::curvesLutFunc(int n_channels, int channel, float value) void ImageCurves::curvesPlotCurve(int channel, int p1, int p2, int p3, int p4) { - CRMatrix tqgeometry; + CRMatrix geometry; CRMatrix tmp1, tmp2; CRMatrix deltas; double x, dx, dx2, dx3; @@ -301,20 +301,20 @@ void ImageCurves::curvesPlotCurve(int channel, int p1, int p2, int p3, int p4) if (!d->curves) return; - // Construct the tqgeometry matrix from the segment. + // Construct the geometry matrix from the segment. for (i = 0 ; i < 4 ; i++) { - tqgeometry[i][2] = 0; - tqgeometry[i][3] = 0; + geometry[i][2] = 0; + geometry[i][3] = 0; } for (i = 0 ; i < 2 ; i++) { - tqgeometry[0][i] = d->curves->points[channel][p1][i]; - tqgeometry[1][i] = d->curves->points[channel][p2][i]; - tqgeometry[2][i] = d->curves->points[channel][p3][i]; - tqgeometry[3][i] = d->curves->points[channel][p4][i]; + geometry[0][i] = d->curves->points[channel][p1][i]; + geometry[1][i] = d->curves->points[channel][p2][i]; + geometry[2][i] = d->curves->points[channel][p3][i]; + geometry[3][i] = d->curves->points[channel][p4][i]; } // Subdivide the curve 1000 times. @@ -331,9 +331,9 @@ void ImageCurves::curvesPlotCurve(int channel, int p1, int p2, int p3, int p4) tmp2[2][0] = 6*d3; tmp2[2][1] = 2*d2; tmp2[2][2] = 0; tmp2[2][3] = 0; tmp2[3][0] = 6*d3; tmp2[3][1] = 0; tmp2[3][2] = 0; tmp2[3][3] = 0; - // Compose the basis and tqgeometry matrices. + // Compose the basis and geometry matrices. - curvesCRCompose(CR_basis, tqgeometry, tmp1); + curvesCRCompose(CR_basis, geometry, tmp1); // Compose the above results to get the deltas matrix. |