29 namespace cinder {
namespace ip {
32 void resize(
const SurfaceT<T> &srcSurface, SurfaceT<T> *dstSurface,
const FilterBase &
filter = FilterTriangle() );
34 void resize(
const ChannelT<T> &srcChannel, ChannelT<T> *dstChannel,
const FilterBase &
filter = FilterTriangle() );
36 void resize(
const SurfaceT<T> &srcSurface,
const Area &srcArea, SurfaceT<T> *dstSurface,
const Area &dstArea,
const FilterBase &
filter = FilterTriangle() );
39 SurfaceT<T>
resizeCopy(
const SurfaceT<T> &srcSurface,
const Area &srcArea,
const Vec2i &dstSize,
const FilterBase &
filter = FilterTriangle() );
41 void resize(
const ChannelT<T> &srcChannel,
const Area &srcArea, ChannelT<T> *dstChannel,
const Area &dstArea,
const FilterBase &
filter = FilterTriangle() );
SurfaceT< T > resizeCopy(const SurfaceT< T > &srcSurface, const Area &srcArea, const Vec2i &dstSize, const FilterBase &filter=FilterTriangle())
Returns a new Surface which is a copy of srcSurface's area srcArea scaled to size dstSize using filte...
Definition: Resize.cpp:350
void resize(const SurfaceT< T > &srcSurface, SurfaceT< T > *dstSurface, const FilterBase &filter=FilterTriangle())
Definition: Resize.cpp:344
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
Definition: GLee.h:5419
Vec2< int > Vec2i
Definition: Vector.h:1313