Changeset View
Changeset View
Standalone View
Standalone View
libs/image/kis_transform_worker.h
Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Line(s) | 89 | public: | |||
---|---|---|---|---|---|
90 | 90 | | |||
91 | // returns false if interrupted | 91 | // returns false if interrupted | ||
92 | bool run(); | 92 | bool run(); | ||
93 | bool runPartial(const QRect &processRect); | 93 | bool runPartial(const QRect &processRect); | ||
94 | 94 | | |||
95 | /** | 95 | /** | ||
96 | * Returns a matrix of the transformation executed by the worker. | 96 | * Returns a matrix of the transformation executed by the worker. | ||
97 | * Resulting transformation has the following form (in Qt's matrix | 97 | * Resulting transformation has the following form (in Qt's matrix | ||
98 | * notation (all the matrices are trasposed)): | 98 | * notation (all the matrices are transposed)): | ||
99 | * | 99 | * | ||
100 | * transform = TS.inverted() * S * TS * SC * R * T | 100 | * transform = TS.inverted() * S * TS * SC * R * T | ||
101 | * | 101 | * | ||
102 | * ,where: | 102 | * ,where: | ||
103 | * TS - shear origin transpose | 103 | * TS - shear origin transpose | ||
104 | * S - shear itself (shearX * shearY) | 104 | * S - shear itself (shearX * shearY) | ||
105 | * SC - scale | 105 | * SC - scale | ||
106 | * R - rotation (@rotation parameter) | 106 | * R - rotation (@rotation parameter) | ||
▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines |