added explicit interpolate_class->window_offset values to nearest and bilinear (for documentation)

This commit is contained in:
Nicolas Robidoux 2010-05-16 14:45:14 +00:00
parent bc1d19b7ed
commit 096c7dc940

View File

@ -246,6 +246,7 @@ vips_interpolate_nearest_class_init( VipsInterpolateNearestClass *class )
interpolate_class->interpolate = vips_interpolate_nearest_interpolate;
interpolate_class->window_size = 1;
interpolate_class->window_offset = 0;
}
static void
@ -428,6 +429,7 @@ vips_interpolate_bilinear_class_init( VipsInterpolateBilinearClass *class )
interpolate_class->interpolate = vips_interpolate_bilinear_interpolate;
interpolate_class->window_size = 2;
interpolate_class->window_offset = 0;
/* Calculate the interpolation matricies.
*/