Skip to content

Commit

Permalink
Update upstream libvips source to v8.6.0-beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
lovell committed Nov 27, 2017
1 parent efd2e89 commit fc233ed
Showing 1 changed file with 69 additions and 1 deletion.
70 changes: 69 additions & 1 deletion src/libvips/cplusplus/vips-operators.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// bodies for vips operations
// Mon 13 Mar 13:22:17 GMT 2017
// Sun 26 Nov 17:44:23 GMT 2017
// this file is generated automatically, do not edit!

void VImage::system( char * cmd_format , VOption *options )
Expand Down Expand Up @@ -487,6 +487,21 @@ std::vector<double> VImage::getpoint( int x , int y , VOption *options )
return( out_array );
}

int VImage::find_trim( int * top , int * width , int * height , VOption *options )
{
int left;

call( "find_trim" ,
(options ? options : VImage::option()) ->
set( "in", *this ) ->
set( "left", &left ) ->
set( "top", top ) ->
set( "width", width ) ->
set( "height", height ) );

return( left );
}

VImage VImage::copy( VOption *options )
{
VImage out;
Expand Down Expand Up @@ -563,6 +578,21 @@ VImage VImage::embed( int x , int y , int width , int height , VOption *options
return( out );
}

VImage VImage::gravity( VipsCompassDirection direction , int width , int height , VOption *options )
{
VImage out;

call( "gravity" ,
(options ? options : VImage::option()) ->
set( "in", *this ) ->
set( "out", &out ) ->
set( "direction", direction ) ->
set( "width", width ) ->
set( "height", height ) );

return( out );
}

VImage VImage::flip( VipsDirection direction , VOption *options )
{
VImage out;
Expand Down Expand Up @@ -988,6 +1018,19 @@ VImage VImage::gamma( VOption *options )
return( out );
}

VImage VImage::composite( std::vector<VImage> in , std::vector<int> mode , VOption *options )
{
VImage out;

call( "composite" ,
(options ? options : VImage::option()) ->
set( "in", in ) ->
set( "out", &out ) ->
set( "mode", mode ) );

return( out );
}

VImage VImage::black( int width , int height , VOption *options )
{
VImage out;
Expand Down Expand Up @@ -1904,6 +1947,19 @@ VImage VImage::thumbnail_buffer( VipsBlob * buffer , int width , VOption *option
return( out );
}

VImage VImage::thumbnail_image( int width , VOption *options )
{
VImage out;

call( "thumbnail_image" ,
(options ? options : VImage::option()) ->
set( "in", *this ) ->
set( "out", &out ) ->
set( "width", width ) );

return( out );
}

VImage VImage::mapim( VImage index , VOption *options )
{
VImage out;
Expand Down Expand Up @@ -2822,6 +2878,18 @@ VImage VImage::labelregions( VOption *options )
return( mask );
}

VImage VImage::fill_nearest( VOption *options )
{
VImage out;

call( "fill_nearest" ,
(options ? options : VImage::option()) ->
set( "in", *this ) ->
set( "out", &out ) );

return( out );
}

void VImage::draw_rect( std::vector<double> ink , int left , int top , int width , int height , VOption *options )
{
call( "draw_rect" ,
Expand Down

0 comments on commit fc233ed

Please sign in to comment.