1 #ifndef __NR_PIXBLOCK_SCALER_H__
2 #define __NR_PIXBLOCK_SCALER_H__
4 /*
5 * Functions for blitting pixblocks using scaling
6 *
7 * Author:
8 * Niko Kiirala <niko@kiirala.com>
9 *
10 * Copyright (C) 2006 Niko Kiirala
11 *
12 * Released under GNU GPL, read the file 'COPYING' for more information
13 */
15 #include "libnr/nr-pixblock.h"
16 #include <2geom/forward.h>
18 namespace NR {
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.
25 */
26 void scale_bicubic(NRPixBlock *to, NRPixBlock *from, Geom::Matrix const &trans);
28 } /* namespace NR */
30 #endif // __NR_PIXBLOCK_SCALER_H__
31 /*
32 Local Variables:
33 mode:c++
34 c-file-style:"stroustrup"
35 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
36 indent-tabs-mode:nil
37 fill-column:99
38 End:
39 */
40 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :