1
#ifndef __NR_PIXBLOCK_SCALER_H__
2
#define __NR_PIXBLOCK_SCALER_H__
5
* Functions for blitting pixblocks using scaling
8
* Niko Kiirala <niko@kiirala.com>
10
* Copyright (C) 2006 Niko Kiirala
12
* Released under GNU GPL, read the file 'COPYING' for more information
15
#include "libnr/nr-pixblock.h"
16
#include <2geom/forward.h>
20
/** Blits the second pixblock to the first.
21
* Image in source pixblock is scaled to the size of destination pixblock
22
* using bicubic interpolation.
23
* Source pixblock is not modified in process.
24
* Only works for 32-bpp images.
26
void scale_bicubic(NRPixBlock *to, NRPixBlock *from, Geom::Matrix const &trans);
30
#endif // __NR_PIXBLOCK_SCALER_H__
34
c-file-style:"stroustrup"
35
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
40
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :