TuttleOFX  1
resample_subimage.hpp File Reference
Include dependency graph for resample_subimage.hpp:

Go to the source code of this file.

Namespaces

namespace  terry

Functions

template<typename Sampler , typename SrcMetaView , typename DstMetaView >
void terry::resample_subimage (const SrcMetaView &src, const DstMetaView &dst, double src_min_x, double src_min_y, double src_max_x, double src_max_y, double angle, const Sampler &sampler=Sampler())
 Copy into the destination a rotated rectangular region from the source, rescaling it to fit into the destination.
template<typename Sampler , typename SrcMetaView , typename DstMetaView >
void terry::resize_view (const SrcMetaView &src, const DstMetaView &dst, const Sampler &sampler=Sampler())
 Copy the source view into the destination, scaling to fit.