From 0c2259d34bb868161762b8a04bc81e9f0882debc Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Tue, 28 Jun 2016 17:07:14 +0100 Subject: [PATCH] improve similarity docs rotation direction was wrong, add type comments https://github.com/jcupitt/libvips/issues/475 --- libvips/resample/similarity.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/libvips/resample/similarity.c b/libvips/resample/similarity.c index a0e59e86..89c0c6c4 100644 --- a/libvips/resample/similarity.c +++ b/libvips/resample/similarity.c @@ -236,13 +236,13 @@ vips_similarity_init( VipsSimilarity *similarity ) * * Optional arguments: * - * * @scale: scale by this factor - * * @angle: rotate by this many degrees anticlockwise - * * @interpolate: interpolate pixels with this - * * @idx: input horizontal offset - * * @idy: input vertical offset - * * @odx: output horizontal offset - * * @ody: output vertical offset + * * @scale: %gdouble, scale by this factor + * * @angle: %gdouble, rotate by this many degrees clockwise + * * @interpolate: #VipsInterpolate, interpolate pixels with this + * * @idx: %gdouble, input horizontal offset + * * @idy: %gdouble, input vertical offset + * * @odx: %gdouble, output horizontal offset + * * @ody: %gdouble, output vertical offset * * This operator calls vips_affine() for you, calculating the matrix for the * affine transform from @scale and @angle. Other parameters are passed on to