fix cancel system
This commit is contained in:
parent
5c6ddec956
commit
1e51bbbf6b
@ -625,7 +625,7 @@ affine( IMAGE *in, IMAGE *out, Transformation *trn )
|
||||
double edge;
|
||||
|
||||
if( im_iscomplex( in ) ) {
|
||||
im_errormsg( "im_affine: complex input not supported" );
|
||||
im_error( "im_affine", _( "complex input not supported" ) );
|
||||
return( -1 );
|
||||
}
|
||||
|
||||
@ -668,7 +668,7 @@ affine( IMAGE *in, IMAGE *out, Transformation *trn )
|
||||
if( trn2->oarea.left < -edge || trn2->oarea.top < -edge ||
|
||||
IM_RECT_RIGHT( &trn2->oarea ) > edge ||
|
||||
IM_RECT_BOTTOM( &trn2->oarea ) > edge ) {
|
||||
im_errormsg( "im_affine: output coordinates out of range" );
|
||||
im_error( "im_affine", _( "output coordinates out of range" ) );
|
||||
return( -1 );
|
||||
}
|
||||
|
||||
@ -728,7 +728,7 @@ im__affine( IMAGE *in, IMAGE *out, Transformation *trn )
|
||||
return( -1 );
|
||||
}
|
||||
else {
|
||||
im_errormsg( "im_affine: unknown coding type" );
|
||||
im_error( "im_affine", _( "unknown coding type" ) );
|
||||
return( -1 );
|
||||
}
|
||||
|
||||
@ -742,7 +742,8 @@ im__affine( IMAGE *in, IMAGE *out, Transformation *trn )
|
||||
|
||||
int
|
||||
im_affine( IMAGE *in, IMAGE *out,
|
||||
double a, double b, double c, double d, double dx, double dy,
|
||||
double a, double b, double c, double d,
|
||||
double dx, double dy,
|
||||
int ox, int oy, int ow, int oh )
|
||||
{
|
||||
Transformation trn;
|
||||
|
Loading…
Reference in New Issue
Block a user