Code

Check to make sure canvas provided to forced redraw functions is not null.
[inkscape.git] / src / display / pixblock-scaler.h
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"
17 namespace NR {
19 /** Blits the second pixblock to the first.
20  * Image in source pixblock is scaled to the size of destination pixblock
21  * using bicubic interpolation.
22  * Source pixblock is not modified in process.
23  * Only works for 32-bpp images.
24  */
25 void scale_bicubic(NRPixBlock *to, NRPixBlock *from);
27 } /* namespace NR */
29 #endif // __NR_PIXBLOCK_SCALER_H__
30 /*
31   Local Variables:
32   mode:c++
33   c-file-style:"stroustrup"
34   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
35   indent-tabs-mode:nil
36   fill-column:99
37   End:
38 */
39 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :