# Cinder

# src/cinder/ip/Resize.cpp File Reference

## Namespaces
namespace | cinder
namespace | cinder::ip
## Functions
template<typename LT , typename AT >
void | cinder::ip::scanlineAccumulate (LT weight, LT *lineBuffer, int32_t lineBufferWidth, AT *accum)
template<typename T , typename WT >
void | cinder::ip::makeWeightTable (int32_t b, float cen, const FilterBase &filter, const FilterParams *params, int32_t len, bool trimzeros, WeightTable< WT > *wtab)
template<typename AT , typename T >
void | cinder::ip::scanlineShiftAccumToChannel (AT *accum, int32_t x1, int32_t y, int32_t width, ChannelT< T > *channel)
template<typename T , typename WT , typename AT >
void | cinder::ip::scanlineFilterChannelToBuffer (WeightTable< WT > *weights, int32_t x, int32_t y, const ChannelT< T > &channel, AT *lineBuffer, int32_t width)
template<typename T >
void | cinder::ip::resample (const vector< const ChannelT< T > * > &srcChannels, const FilterBase &filter, const Area &srcArea, const Area &dstArea, const vector< ChannelT< T > * > &dstChannels)
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 >
void | cinder::ip::resize (const ChannelT< T > &srcChannel, const Area &srcArea, ChannelT< T > *dstChannel, const Area &dstArea, const FilterBase &filter=FilterTriangle())
template<typename T >
void | cinder::ip::resize (const SurfaceT< T > &srcSurface, SurfaceT< T > *dstSurface, 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, ChannelT< T > *dstChannel, const FilterBase &filter=FilterTriangle())