* Add VRegion8.h to Makefile.am, meson.build, Doxyfile.in. * Fix inaccurate function documentation. * Add stride method to VRegion.
This commit is contained in:
parent
3073ee90b7
commit
c02b69eaba
@ -835,6 +835,7 @@ INPUT = \
|
|||||||
@DOXY_INPUT_DIRECTORY@/include/vips/VError8.h \
|
@DOXY_INPUT_DIRECTORY@/include/vips/VError8.h \
|
||||||
@DOXY_INPUT_DIRECTORY@/include/vips/VImage8.h \
|
@DOXY_INPUT_DIRECTORY@/include/vips/VImage8.h \
|
||||||
@DOXY_INPUT_DIRECTORY@/include/vips/VInterpolate8.h \
|
@DOXY_INPUT_DIRECTORY@/include/vips/VInterpolate8.h \
|
||||||
|
@DOXY_INPUT_DIRECTORY@/include/vips/VRegion8.h \
|
||||||
@DOXY_INPUT_DIRECTORY@/include/vips/vips8
|
@DOXY_INPUT_DIRECTORY@/include/vips/vips8
|
||||||
|
|
||||||
# This tag can be used to specify the character encoding of the source files
|
# This tag can be used to specify the character encoding of the source files
|
||||||
|
@ -2,6 +2,7 @@ pkginclude_HEADERS = \
|
|||||||
VError8.h \
|
VError8.h \
|
||||||
VImage8.h \
|
VImage8.h \
|
||||||
VInterpolate8.h \
|
VInterpolate8.h \
|
||||||
|
VRegion8.h \
|
||||||
VConnection8.h \
|
VConnection8.h \
|
||||||
vips8
|
vips8
|
||||||
|
|
||||||
|
@ -1057,7 +1057,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Acquire VRegion covering the whole image.
|
* Acquire an unprepared VRegion.
|
||||||
*/
|
*/
|
||||||
VRegion
|
VRegion
|
||||||
region() const;
|
region() const;
|
||||||
|
@ -122,6 +122,15 @@ public:
|
|||||||
return VIPS_REGION_ADDR( get_region(), x, y );
|
return VIPS_REGION_ADDR( get_region(), x, y );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the stride (bytes per row, including padding) of the region.
|
||||||
|
*/
|
||||||
|
size_t
|
||||||
|
stride() const
|
||||||
|
{
|
||||||
|
return VIPS_REGION_LSKIP( get_region() );
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get VipsPel at the given index of the region.
|
* Get VipsPel at the given index of the region.
|
||||||
*/
|
*/
|
||||||
|
@ -2,6 +2,7 @@ public_cpp_headers = files(
|
|||||||
'VError8.h',
|
'VError8.h',
|
||||||
'VImage8.h',
|
'VImage8.h',
|
||||||
'VInterpolate8.h',
|
'VInterpolate8.h',
|
||||||
|
'VRegion8.h',
|
||||||
'VConnection8.h',
|
'VConnection8.h',
|
||||||
'vips8',
|
'vips8',
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user