vips-cpp
8.11
libvips C++ binding
|
VTarget Class Reference
#include <VConnection8.h>
Inheritance diagram for VTarget:
Collaboration diagram for VTarget:
Public Member Functions | |
VTarget (VipsTarget *output, VSteal steal=STEAL) | |
VipsTarget * | get_target () const |
Public Member Functions inherited from VObject | |
VObject (VipsObject *new_vobject, VSteal steal=STEAL) | |
VObject (const VObject &a) | |
VObject & | operator= (const VObject &a) |
VipsObject * | get_object () const |
bool | is_null () const |
Static Public Member Functions | |
static VTarget | new_to_descriptor (int descriptor) |
static VTarget | new_to_file (const char *filename) |
static VTarget | new_to_memory () |
Detailed Description
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.
Constructor & Destructor Documentation
◆ VTarget()
|
inline |
Wrap a VTarget around an underlying VipsTarget object.
Member Function Documentation
◆ get_target()
|
inline |
Get a pointer to the underlying VipsTarget object.
◆ new_to_descriptor()
|
static |
Make a new VTarget which, when written to, will write to a file descriptor.
◆ new_to_file()
|
static |
Make a new VTarget which, when written to, will write to a file.
◆ new_to_memory()
|
static |
Make a new VTarget which, when written to, will write to a file descriptor.
The documentation for this class was generated from the following files:
- include/vips/VConnection8.h
- VConnection.cpp
Generated by 1.9.1