improve similarity docs

rotation direction was wrong, add type comments

https://github.com/jcupitt/libvips/issues/475
This commit is contained in:
John Cupitt 2016-06-28 17:07:14 +01:00
parent 65105a9442
commit 0c2259d34b
1 changed files with 7 additions and 7 deletions

View File

@ -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