libvips/cplusplus/vips-operators.cc

17 lines
233 B
C++
Raw Normal View History

2014-10-21 15:55:38 +02:00
VImage VImage::add( VImage in2, ... )
2014-10-20 15:54:03 +02:00
throw( VError )
2014-10-20 12:50:34 +02:00
{
2014-10-20 15:54:03 +02:00
va_list ap;
VImage out;
int result;
2014-10-20 12:50:34 +02:00
2014-10-21 15:55:38 +02:00
va_start( ap, in2 );
2014-10-20 15:54:03 +02:00
result = call_split( "add", ap, this, in2, &out );
va_end( ap );
2014-10-20 12:50:34 +02:00
2014-10-20 15:54:03 +02:00
if( result )
VError();
2014-10-20 12:50:34 +02:00
return( out );
}