Changeset View
Changeset View
Standalone View
Standalone View
libs/image/kis_filter_weights_buffer.h
Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Line(s) | |||||
93 | /** | 93 | /** | ||
94 | * \class KisFilterWeightsBuffer | 94 | * \class KisFilterWeightsBuffer | ||
95 | * | 95 | * | ||
96 | * Stores the cached values for the weights of neighbouring pixels | 96 | * Stores the cached values for the weights of neighbouring pixels | ||
97 | * that would form the pixel in a result of resampling. The object of | 97 | * that would form the pixel in a result of resampling. The object of | ||
98 | * this class is created before a pass of the transformation basing on | 98 | * this class is created before a pass of the transformation basing on | ||
99 | * the desired scale factor and the filter strategy used for resampling. | 99 | * the desired scale factor and the filter strategy used for resampling. | ||
100 | * | 100 | * | ||
101 | * Here is an exmple of a calculation of the span for a pixel with | 101 | * Here is an example of a calculation of the span for a pixel with | ||
102 | * scale equal to 1.0. The result of the blending will be written into | 102 | * scale equal to 1.0. The result of the blending will be written into | ||
103 | * the dst(0) pixel, which is marked with '*' sign. Note that all the | 103 | * the dst(0) pixel, which is marked with '*' sign. Note that all the | ||
104 | * coordinates here are related to the center of the pixel, not to its | 104 | * coordinates here are related to the center of the pixel, not to its | ||
105 | * leftmost border as it is common in other systems. The centerSrc | 105 | * leftmost border as it is common in other systems. The centerSrc | ||
106 | * coordinate represents the offset between the source and the | 106 | * coordinate represents the offset between the source and the | ||
107 | * destination buffers. | 107 | * destination buffers. | ||
108 | * | 108 | * | ||
109 | * dst-coordinates: the coordinates in the resulting image. The values | 109 | * dst-coordinates: the coordinates in the resulting image. The values | ||
▲ Show 20 Lines • Show All 183 Lines • Show Last 20 Lines |