# Cinder

# include/cinder/ip/Resize.h File Reference

Go to the source code of this file.

## Namespaces
namespace | cinder
namespace | cinder::ip
## Functions
template<typename T >
void | cinder::ip::resize (const SurfaceT< T > &srcSurface, SurfaceT< T > *dstSurface, const FilterBase &filter=FilterTriangle())
template<typename T >
void | cinder::ip::resize (const ChannelT< T > &srcChannel, ChannelT< T > *dstChannel, const FilterBase &filter=FilterTriangle())
template<typename T >
void | cinder::ip::resize (const SurfaceT< T > &srcSurface, const Area &srcArea, SurfaceT< T > *dstSurface, const Area &dstArea, const FilterBase &filter=FilterTriangle())
template<typename T >
SurfaceT< T > | cinder::ip::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 filter filter.
template<typename T >
void | cinder::ip::resize (const ChannelT< T > &srcChannel, const Area &srcArea, ChannelT< T > *dstChannel, const Area &dstArea, const FilterBase &filter=FilterTriangle())