Functions
vips__transform_calc_inverse ()
int
vips__transform_calc_inverse (VipsTransformation *trn
);
vips__transform_isidentity ()
int
vips__transform_isidentity (const VipsTransformation *trn
);
vips__transform_forward_point ()
void
vips__transform_forward_point (const VipsTransformation *trn
,
const double x
,
const double y
,
double *ox
,
double *oy
);
vips__transform_invert_point ()
void
vips__transform_invert_point (const VipsTransformation *trn
,
const double x
,
const double y
,
double *ox
,
double *oy
);
Types and Values
VipsTransformation
typedef struct {
/* Area of input we can use. This can be smaller than the real input
* image: we expand the input to add extra pixels for interpolation.
*/
VipsRect iarea;
/* The area of the output we've been asked to generate. left/top can
* be negative.
*/
VipsRect oarea;
/* The transform.
*/
double a, b, c, d;
double idx, idy;
double odx, ody;
double ia, ib, ic, id; /* Inverse of matrix abcd */
} VipsTransformation;