vips-cpp 8.16 libvips C++ binding

Loading...
Searching...
No Matches
VInterpolate8.h
1// VIPS interpolate wrapper
2
3/*
4
5 This file is part of VIPS.
6
7 VIPS is free software; you can redistribute it and/or modify
8 it under the terms of the GNU Lesser General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU Lesser General Public License for more details.
16
17 You should have received a copy of the GNU Lesser General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20 02110-1301 USA
21
22 */
23
24/*
25
26 These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
27
28 */
29
30#ifndef VIPS_VINTERPOLATE_H
31#define VIPS_VINTERPOLATE_H
32
33#include <vips/vips.h>
34
35VIPS_NAMESPACE_START
36
45 class VInterpolate : public VObject {
46 public:
52 explicit VInterpolate(VipsInterpolate *interpolate, VSteal steal = STEAL)
53 : VObject((VipsObject *) interpolate, steal)
54 {
55 }
56
60 static VInterpolate new_from_name(const char *name, VOption *options = nullptr);
61
65 VipsInterpolate *
66 get_interpolate() const
67 {
68 return (VipsInterpolate *) VObject::get_object();
69 }
70};
71
72VIPS_NAMESPACE_END
73
74#endif /*VIPS_VINTERPOLATE_H*/
VInterpolate
Definition VInterpolate8.h:45
VInterpolate::new_from_name
static VInterpolate new_from_name(const char *name, VOption *options=nullptr)
Definition VInterpolate.cpp:47
VInterpolate::get_interpolate
VipsInterpolate * get_interpolate() const
Definition VInterpolate8.h:66
VInterpolate::VInterpolate
VInterpolate(VipsInterpolate *interpolate, VSteal steal=STEAL)
Definition VInterpolate8.h:52
VObject
Definition VImage8.h:67
VObject::get_object
VipsObject * get_object() const
Definition VImage8.h:170
VOption
Definition VImage8.h:216