On 10/16/06, Øyvind Kolås <pippin@xxxxxxxx> wrote:
#if 0 /* using this form, might make more sense, since it would allow accurate sampling as needed by affine/perspective transforms that are scaling down as well as when scaling up/interpolating */ gegl_sampler_get_quad (sampler, xc-0.5, yc-0.5, xc+0.5, yc-0.5, xc+0.5, yc+0.5, xc-0.5, yc+0.5, buf); #endif
I think this is wrong, each of the seperate corners of the output pixel should probably have their coordinates computed separatly, before being passed in. /Øyvind K. -- «The future is already here. It's just not very evenly distributed» -- William Gibson http://pippin.gimp.org/ http://ffii.org/ _______________________________________________ Gegl-developer mailing list Gegl-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer