a few more doc comments

This commit is contained in:
John Cupitt 2020-08-18 01:28:40 +01:00
parent 5e985ad187
commit d4c20e6d1c
3 changed files with 14 additions and 2 deletions

View File

@ -39,6 +39,10 @@
VIPS_NAMESPACE_START
/**
* The libvips error class. It holds a single string containing an
* internationalized error message in utf-8 encoding.
*/
class VIPS_CPLUSPLUS_API VError : public std::exception {
std::string _what;

View File

@ -54,8 +54,9 @@ enum VSteal {
STEAL = 1
};
/* A smart VipsObject pointer class ... use g_object_ref()/_unref() for
* lifetime management.
/**
* A smart VipsObject pointer. It calls g_object_ref()/_unref() for you
* automatically.
*/
class VObject
{

View File

@ -34,6 +34,13 @@
VIPS_NAMESPACE_START
/**
* An interpolation. You can pass one of these to something like
* VImage::affine for it to use to interpolate pixels.
*
* The available interpolators vary a bit with your libvips version and how it
* was built, but will include `nearest`, `bilinear` and `bicubic`.
*/
class VInterpolate : VObject
{
public: