"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cplusplus/include/vips/VConnection8.h" between
vips-8.10.6.tar.gz and vips-8.11.0.tar.gz

About: VIPS is a free image processing system (see also the GUI nip2).

VConnection8.h  (vips-8.10.6):VConnection8.h  (vips-8.11.0)
skipping to change at line 37 skipping to change at line 37
*/ */
#ifndef VIPS_VCONNECTION_H #ifndef VIPS_VCONNECTION_H
#define VIPS_VCONNECTION_H #define VIPS_VCONNECTION_H
#include <vips/vips.h> #include <vips/vips.h>
VIPS_NAMESPACE_START VIPS_NAMESPACE_START
class VSource : VObject /**
* A generic source object. These supply a stream of bytes that loaders can
* use to fetch image files, see VImage::new_from_source().
*
* Methods let you can connect a source up to memory, a file or
* a file descriptor. Use vips::VSourceCustom to implement custom sources
* using GObject signals.
*/
class VSource : public VObject
{ {
public: public:
/**
* Wrap a VSource around an underlying VipsSource object.
*/
VSource( VipsSource *input, VSteal steal = STEAL ) : VSource( VipsSource *input, VSteal steal = STEAL ) :
VObject( (VipsObject *) input, steal ) VObject( (VipsObject *) input, steal )
{ {
} }
static /**
VSource new_from_descriptor( int descriptor ); * Make a new VSource from a file descriptor.
*/
static static VSource
VSource new_from_file( const char *filename ); new_from_descriptor( int descriptor );
static /**
VSource new_from_blob( VipsBlob *blob ); * Make a new VSource from a file on disc.
*/
static static VSource
VSource new_from_memory( const void *data, new_from_file( const char *filename );
size_t size );
/**
static * Make a new VSource from a binary object.
VSource new_from_options( const char *options ); */
static VSource
new_from_blob( VipsBlob *blob );
/**
* Make a new VSource from an area of memory.
*/
static VSource
new_from_memory( const void *data, size_t size );
/**
* Make a new VSource from a set of options encoded as a string. See
* vips_source_new().
*/
static VSource
new_from_options( const char *options );
/**
* Get a pointer to the underlying VipsSoure object.
*/
VipsSource * VipsSource *
get_source() const get_source() const
{ {
return( (VipsSource *) VObject::get_object() ); return( (VipsSource *) VObject::get_object() );
} }
}; };
class VTarget : VObject /**
* A generic target object. Savers can use these to write a stream of bytes
* somewhere, see VImage::write_to_target().
*
* Methods let you can connect a target up to memory, a file or
* a file descriptor. Use vips::VTargetCustom to implement custom targets
* using GObject signals.
*/
class VTarget : public VObject
{ {
public: public:
/**
* Wrap a VTarget around an underlying VipsTarget object.
*/
VTarget( VipsTarget *output, VSteal steal = STEAL ) : VTarget( VipsTarget *output, VSteal steal = STEAL ) :
VObject( (VipsObject *) output, steal ) VObject( (VipsObject *) output, steal )
{ {
} }
static /**
VTarget new_to_descriptor( int descriptor ); * Make a new VTarget which, when written to, will write to a file
* descriptor.
*/
static VTarget
new_to_descriptor( int descriptor );
/**
* Make a new VTarget which, when written to, will write to a file.
*/
static static
VTarget new_to_file( const char *filename ); VTarget new_to_file( const char *filename );
/**
* Make a new VTarget which, when written to, will write to a file
* descriptor.
*/
static static
VTarget new_to_memory(); VTarget new_to_memory();
/**
* Get a pointer to the underlying VipsTarget object.
*/
VipsTarget * VipsTarget *
get_target() const get_target() const
{ {
return( (VipsTarget *) VObject::get_object() ); return( (VipsTarget *) VObject::get_object() );
} }
}; };
VIPS_NAMESPACE_END VIPS_NAMESPACE_END
 End of changes. 8 change blocks. 
21 lines changed or deleted 75 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)